1    | #ifndef READ_CONSTANTS
2    | #define READ_CONSTANTS
3    | 
4    | /***************************************
5    |   $Revision: 1.5 $
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_host();
37   | const char *CO_get_user();
38   | const char *CO_get_password();
39   | int CO_get_database_port();
40   | const char *CO_get_database();
41   | const char *CO_get_query();
42   | const char *CO_get_in_query();
43   | const char *CO_get_rt_query();
44   | int CO_get_authenticate();
45   | int CO_get_whois_suspended();
46   | const char *CO_get_welcome();
47   | const char *CO_get_prompt();
48   | int CO_get_clear_screen();
49   | int CO_get_sleep_time();
50   | int CO_get_accounting();
51   | int CO_get_query_logging();
52   | const char *CO_get_query_logfile();
53   | int CO_get_comnd_logging();
54   | const char *CO_get_comnd_logfile();
55   | int CO_get_instr_logging();
56   | const char *CO_get_instr_logfile();
57   | int CO_get_tests_logging();
58   | const char *CO_get_tests_logfile();
59   | int CO_get_thread_logging();
60   | const char *CO_get_thread_logfile();
61   | int CO_get_socket_logging();
62   | const char *CO_get_socket_logfile();
63   | int CO_get_config_logging();
64   | const char *CO_get_config_logfile();
65   | char *CO_to_string(void);
66   | char *CO_const_to_string(const char *name);
67   | int CO_set_const(const char *name, const char *value);
68   | char *CO_set(void);
69   | 
70   | #endif /* READ_CONSTANTS */