## modules/co/constants.h

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

## FUNCTIONS

This source file includes following functions.

    #ifndef READ_CONSTANTS
    #define READ_CONSTANTS

    /***************************************
      $Revision: 1.5 $

      Constants module (co) - this _should_ eventually get merged in with the
      config module.

      Status: NOT REVUED, NOT TESTED

      ******************/ /******************
      Copyright (c) 1999                              RIPE NCC

      All Rights Reserved

      Permission to use, copy, modify, and distribute this software and its
      documentation for any purpose and without fee is hereby granted,
      provided that the above copyright notice appear in all copies and that
      both that copyright notice and this permission notice appear in
      supporting documentation, and that the name of the author not be
      used in advertising or publicity pertaining to distribution of the
      software without specific, written prior permission.

      THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
      ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL
      AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
      DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
      AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
      OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
      ***************************************/
    int CO_get_max_threads();
    const char *CO_get_whois_port();
    const char *CO_get_config_port();
    const char *CO_get_mirror_port();
    const char *CO_get_host();
    const char *CO_get_user();
    const char *CO_get_password();
    int CO_get_database_port();
    const char *CO_get_database();
    const char *CO_get_query();
    const char *CO_get_in_query();
    const char *CO_get_rt_query();
    int CO_get_authenticate();
    int CO_get_whois_suspended();
    const char *CO_get_welcome();
    const char *CO_get_prompt();
    int CO_get_clear_screen();
    int CO_get_sleep_time();
    int CO_get_accounting();
    int CO_get_query_logging();
    const char *CO_get_query_logfile();
    int CO_get_comnd_logging();
    const char *CO_get_comnd_logfile();
    int CO_get_instr_logging();
    const char *CO_get_instr_logfile();
    int CO_get_tests_logging();
    const char *CO_get_tests_logfile();
    int CO_get_thread_logging();
    const char *CO_get_thread_logfile();
    int CO_get_socket_logging();
    const char *CO_get_socket_logfile();
    int CO_get_config_logging();
    const char *CO_get_config_logfile();
    char *CO_to_string(void);
    char *CO_const_to_string(const char *name);
    int CO_set_const(const char *name, const char *value);
    char *CO_set(void);

    #endif /* READ_CONSTANTS */

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