1 | #ifndef READ_CONSTANTS 2 | #define READ_CONSTANTS 3 | 4 | /*************************************** 5 | $Revision: 1.7 $ 6 | 7 | Constants module (co) - this _should_ eventually get merged in with the 8 | config module. 9 | 10 | Status: NOT REVUED, NOT TESTED 11 | 12 | ******************/ /****************** 13 | Copyright (c) 1999 RIPE NCC 14 | 15 | All Rights Reserved 16 | 17 | Permission to use, copy, modify, and distribute this software and its 18 | documentation for any purpose and without fee is hereby granted, 19 | provided that the above copyright notice appear in all copies and that 20 | both that copyright notice and this permission notice appear in 21 | supporting documentation, and that the name of the author not be 22 | used in advertising or publicity pertaining to distribution of the 23 | software without specific, written prior permission. 24 | 25 | THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 26 | ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL 27 | AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 28 | DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 29 | AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 30 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 31 | ***************************************/ 32 | int CO_get_max_threads(); 33 | const char *CO_get_whois_port(); 34 | const char *CO_get_config_port(); 35 | const char *CO_get_mirror_port(); 36 | const char *CO_get_update_port(); 37 | const char *CO_get_host(); 38 | const char *CO_get_user(); 39 | const char *CO_get_password(); 40 | int CO_get_database_port(); 41 | const char *CO_get_database(); 42 | const char *CO_get_query(); 43 | const char *CO_get_in_query(); 44 | const char *CO_get_rt_query(); 45 | int CO_get_authenticate(); 46 | int CO_get_whois_suspended(); 47 | const char *CO_get_welcome(); 48 | const char *CO_get_prompt(); 49 | int CO_get_clear_screen(); 50 | int CO_get_sleep_time(); 51 | int CO_get_accounting(); 52 | int CO_get_query_logging(); 53 | const char *CO_get_query_logfile(); 54 | int CO_get_comnd_logging(); 55 | const char *CO_get_comnd_logfile(); 56 | int CO_get_instr_logging(); 57 | const char *CO_get_instr_logfile(); 58 | int CO_get_tests_logging(); 59 | const char *CO_get_tests_logfile(); 60 | int CO_get_thread_logging(); 61 | const char *CO_get_thread_logfile(); 62 | int CO_get_socket_logging(); 63 | const char *CO_get_socket_logfile(); 64 | int CO_get_config_logging(); 65 | const char *CO_get_config_logfile(); 66 | 67 | const char *CO_get_nrtm_host(); 68 | const char *CO_get_nrtm_port(); 69 | int CO_get_nrtm_version(); 70 | int CO_get_nrtm_delay(); 71 | const char *CO_get_nrtm_cserialfile(); 72 | const char *CO_get_nrtm_logfile(); 73 | int CO_get_do_nrtm(); 74 | int CO_get_update_mode(); 75 | int CO_get_do_update(); 76 | 77 | char *CO_to_string(void); 78 | char *CO_const_to_string(const char *name); 79 | int CO_set_const(const char *name, const char *value); 80 | char *CO_set(void); 81 | 82 | #endif /* READ_CONSTANTS */