1 | #ifndef READ_PROPERTIES 2 | #define READ_PROPERTIES 3 | 4 | /*************************************** 5 | $Revision: 1.3 $ 6 | 7 | Properties module (pr) - this _should_ eventually get merged in with the 8 | 9 | Status: NOT REVUED, NOT TESTED 10 | 11 | +html+ <DL COMPACT> 12 | +html+ <DT>Online References: 13 | +html+ <DD><UL> 14 | +html+ </UL> 15 | +html+ </DL> 16 | 17 | ******************/ /****************** 18 | Copyright (c) 1999 RIPE NCC 19 | 20 | All Rights Reserved 21 | 22 | Permission to use, copy, modify, and distribute this software and its 23 | documentation for any purpose and without fee is hereby granted, 24 | provided that the above copyright notice appear in all copies and that 25 | both that copyright notice and this permission notice appear in 26 | supporting documentation, and that the name of the author not be 27 | used in advertising or publicity pertaining to distribution of the 28 | software without specific, written prior permission. 29 | 30 | THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 31 | ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL 32 | AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 33 | DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 34 | AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 35 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 36 | ***************************************/ 37 | char *PR_to_string(void); 38 | char *PR_set(); 39 | void PR_load(const char *prop_file_name); 40 | char *PR_get_property(const char *token, const char *default_value); 41 | 42 | #endif /* READ_PROPERTIES */