include/constants.h

/* [<][>][^][v][top]
[bottom][index][help] */

FUNCTIONS

This source file includes following functions.

   1 #ifndef READ_CONSTANTS
   2 #define READ_CONSTANTS
   3 
   4 /***************************************
   5   $Revision: 1.11 $
   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 
  33 #include <glib.h>
  34 
  35 int CO_get_max_threads();
  36 char *CO_get_whois_port();
  37 char *CO_get_config_port();
  38 char *CO_get_mirror_port();
  39 char *CO_get_update_port();
  40 char *CO_get_host();
  41 char *CO_get_user();
  42 char *CO_get_password();
  43 int CO_get_database_port();
  44 char *CO_get_database();
  45 char *CO_get_query();
  46 char *CO_get_in_query();
  47 char *CO_get_rt_query();
  48 int CO_get_authenticate();
  49 int CO_get_whois_suspended();
  50 char *CO_get_welcome();
  51 char *CO_get_prompt();
  52 int CO_get_clear_screen();
  53 int CO_get_sleep_time();
  54 int CO_get_accounting();
  55 int CO_get_query_logging();
  56 char *CO_get_query_logfile();
  57 int CO_get_comnd_logging();
  58 char *CO_get_comnd_logfile();
  59 int CO_get_instr_logging();
  60 char *CO_get_instr_logfile();
  61 int CO_get_tests_logging();
  62 char *CO_get_tests_logfile();
  63 int CO_get_thread_logging();
  64 char *CO_get_thread_logfile();
  65 int CO_get_socket_logging();
  66 char *CO_get_socket_logfile();
  67 int CO_get_config_logging();
  68 char *CO_get_config_logfile();
  69 char *CO_get_config_file();
  70 
  71 
  72 char *CO_get_nrtm_host();
  73 char *CO_get_nrtm_port();
  74 int CO_get_nrtm_version();
  75 int CO_get_nrtm_delay();
  76 char *CO_get_nrtm_cserialfile();
  77 char *CO_get_nrtm_logfile();
  78 int CO_get_do_nrtm();
  79 int CO_get_update_mode();
  80 int CO_get_do_update();
  81 int CO_get_do_server();
  82 
  83 
  84 char *CO_to_string(void);
  85 char *CO_const_to_string(const char *name);
  86 int CO_set_const(const char *name, const char *value);
  87 char *CO_set(void);
  88 
  89 char * CO_sources_to_string(void);
  90 char *CO_sources_list_to_string(GList *sources_list);
  91 char * const *CO_get_sources(void) ;
  92 const char *CO_get_source(int index);
  93 const char *CO_get_source_database(int index);
  94 
  95 #endif /* READ_CONSTANTS */

/* [<][>][^][v][top][bottom][index][help] */