File src/dinoex_config.c

* by Dirk Meyer (dinoex) * Copyright (C) 2004-2011 Dirk Meyer * * By using this file, you agree to the terms and conditions set * forth in the GNU General Public License. More information is * available in the LICENSE file. * * If you received this file without documentation, it can be * downloaded from http://iroffer.dinoex.net/ * * $Id: dinoex_config.c,v 1.229 2012/08/24 08:54:13 cvs Exp $ *

References Functions: c_auth_name() src/dinoex_config.c
  c_autoadd_group_match() src/dinoex_config.c
  c_autosendpack() src/dinoex_config.c
  c_bracket_close() src/dinoex_config.c
  c_bracket_open() src/dinoex_config.c
  c_channel() src/dinoex_config.c
  c_channel_join_raw() src/dinoex_config.c
  c_connectionmethod() src/dinoex_config.c
  c_disk_quota() src/dinoex_config.c
  c_getip_network() src/dinoex_config.c
  c_group_admin() src/dinoex_config.c
  c_ignoreduplicateip() src/dinoex_config.c
  c_local_vhost() src/dinoex_config.c
  c_login_name() src/dinoex_config.c
  c_logrotate() src/dinoex_config.c
  c_mime_type() src/dinoex_config.c
  c_need_level() src/dinoex_config.c
  c_network() src/dinoex_config.c
  c_nickserv_pass() src/dinoex_config.c
  c_noannounce() src/dinoex_config.c
  c_offline() src/dinoex_config.c
  c_overallmaxspeeddaydays() src/dinoex_config.c
  c_overallmaxspeeddaytime() src/dinoex_config.c
  c_periodicmsg() src/dinoex_config.c
  c_plaintext() src/dinoex_config.c
  c_proxyinfo() src/dinoex_config.c
  c_respondtochannellist() src/dinoex_config.c
  c_respondtochannelxdcc() src/dinoex_config.c
  c_restrictlist() src/dinoex_config.c
  c_restrictsend() src/dinoex_config.c
  c_send_listfile() src/dinoex_config.c
  c_server() src/dinoex_config.c
  c_server_connect_timeout() src/dinoex_config.c
  c_server_connected_raw() src/dinoex_config.c
  c_server_join_raw() src/dinoex_config.c
  c_slotsmax() src/dinoex_config.c
  c_slow_privmsg() src/dinoex_config.c
  c_statefile() src/dinoex_config.c
  c_transferlimits() src/dinoex_config.c
  c_transfermaxspeed() src/dinoex_config.c
  c_transferminspeed() src/dinoex_config.c
  c_uploadmaxsize() src/dinoex_config.c
  c_uploadminspace() src/dinoex_config.c
  c_usenatip() src/dinoex_config.c
  c_user_modes() src/dinoex_config.c
  c_user_nick() src/dinoex_config.c
  d_autoadd_group_match() src/dinoex_config.c
  d_autosendpack() src/dinoex_config.c
  d_disk_quota() src/dinoex_config.c
  d_group_admin() src/dinoex_config.c
  d_logrotate() src/dinoex_config.c
  d_mime_type() src/dinoex_config.c
  d_overallmaxspeeddaydays() src/dinoex_config.c
  d_overallmaxspeeddaytime() src/dinoex_config.c
  d_slotsmax() src/dinoex_config.c
  d_statefile() src/dinoex_config.c
  d_transferlimits() src/dinoex_config.c
  d_transfermaxspeed() src/dinoex_config.c
  d_transferminspeed() src/dinoex_config.c
  d_uploadmaxsize() src/dinoex_config.c
  d_uploadminspace() src/dinoex_config.c
  p_auth_name() src/dinoex_config.c
  p_bandmax() src/dinoex_config.c
  p_banduse() src/dinoex_config.c
  p_disk_quota() src/dinoex_config.c
  p_disk_space() src/dinoex_config.c
  p_disk_space_text() src/dinoex_config.c
  p_getip_network() src/dinoex_config.c
  p_idlequeueused() src/dinoex_config.c
  p_ignoreduplicateip() src/dinoex_config.c
  p_local_vhost() src/dinoex_config.c
  p_login_name() src/dinoex_config.c
  p_logrotate() src/dinoex_config.c
  p_mainqueueused() src/dinoex_config.c
  p_need_level() src/dinoex_config.c
  p_nickserv_pass() src/dinoex_config.c
  p_noannounce() src/dinoex_config.c
  p_offline() src/dinoex_config.c
  p_overallmaxspeeddaydays() src/dinoex_config.c
  p_packsum() src/dinoex_config.c
  p_plaintext() src/dinoex_config.c
  p_respondtochannellist() src/dinoex_config.c
  p_respondtochannelxdcc() src/dinoex_config.c
  p_restrictlist() src/dinoex_config.c
  p_restrictsend() src/dinoex_config.c
  p_send_listfile() src/dinoex_config.c
  p_slotsfree() src/dinoex_config.c
  p_slotsmax() src/dinoex_config.c
  p_slotsused() src/dinoex_config.c
  p_slow_privmsg() src/dinoex_config.c
  p_statefile() src/dinoex_config.c
  p_totaluptime() src/dinoex_config.c
  p_transfereddaily() src/dinoex_config.c
  p_transferedmonthly() src/dinoex_config.c
  p_transferedtotal() src/dinoex_config.c
  p_transferedtotalbytes() src/dinoex_config.c
  p_transferedweekly() src/dinoex_config.c
  p_uploadmaxsize() src/dinoex_config.c
  p_uploadminspace() src/dinoex_config.c
  p_uptime() src/dinoex_config.c
  p_usenatip() src/dinoex_config.c
  p_user_modes() src/dinoex_config.c
  p_user_nick() src/dinoex_config.c
  p_version() src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Included Files

include the headers


Preprocessor definitions

#define _LONGLONG 1

#define MAX_CHANNEL_OPTIONS 20


Typedef config_name_t

typedef const char* (*config_name_t)(unsigned int i)

Typedef config_bool_typ

typedef struct {...} config_bool_typ
struct  
   {  
      const char* name;  
      unsigned int* ivar;  
      unsigned int reset;  
      unsigned int dummy;  
   }  

Typedef config_int_typ

typedef struct {...} config_int_typ
struct  
   {  
      const char* name;  
      unsigned int* ivar;  
      int min;  
      int max;  
      unsigned int mult;  
      unsigned int reset;  
   }  

Typedef config_string_typ

typedef struct {...} config_string_typ
struct  
   {  
      const char* name;  
      char** svar;  
      unsigned int flags;  
      unsigned int dummy;  
   }  

Typedef config_list_typ

typedef struct {...} config_list_typ
struct  
   {  
      const char* name;  
      irlist_t* list;  
      unsigned int flags;  
      unsigned int dummy;  
   }  

Typedef config_func_typ

typedef struct {...} config_func_typ
struct  
   {  
      const char* name;  
      void (*func)(const char* key,char* var);  
   }  

Typedef config_fprint_typ

typedef struct {...} config_fprint_typ
struct  
   {  
      const char* name;  
      char* (*fprint)(void);  
   }  

Typedef config_fdump_typ

typedef struct {...} config_fdump_typ
struct  
   {  
      const char* name;  
      void (*fdump)(const char* key);  
   }  

Global Variable current_config

const char* current_config
Visible in:   src/dinoex_admin.c
    src/dinoex_config.c
    src/dinoex_jobs.c
    src/dinoex_main.c
    src/dinoex_misc.c
    src/dinoex_ruby.c
    src/iroffer_admin.c
    src/iroffer_misc.c
    src/iroffer_utilities.c
Used in: a_config() src/dinoex_admin.c
  a_read_config_files() src/dinoex_jobs.c
  c_channel() src/dinoex_config.c
  c_connectionmethod() src/dinoex_config.c
  c_getip_network() src/dinoex_config.c
  c_group_admin() src/dinoex_config.c
  c_network() src/dinoex_config.c
  c_slotsmax() src/dinoex_config.c
  check_range() src/dinoex_config.c
  checkadminpass2() src/dinoex_config.c
  config_startup() src/dinoex_config.c
  invalid_args() src/dinoex_config.c
  parse_bool_val() src/dinoex_config.c
  parse_config_line() src/dinoex_config.c
  report_no_arg() src/dinoex_config.c
  set_config_list() src/dinoex_config.c
  set_config_string() src/dinoex_config.c

Global Variable current_line

unsigned long current_line
Visible in:   src/dinoex_admin.c
    src/dinoex_config.c
    src/dinoex_jobs.c
    src/dinoex_main.c
    src/dinoex_misc.c
    src/dinoex_ruby.c
    src/iroffer_admin.c
    src/iroffer_misc.c
    src/iroffer_utilities.c
Used in: a_read_config_files() src/dinoex_jobs.c
  c_channel() src/dinoex_config.c
  c_connectionmethod() src/dinoex_config.c
  c_getip_network() src/dinoex_config.c
  c_group_admin() src/dinoex_config.c
  c_network() src/dinoex_config.c
  c_slotsmax() src/dinoex_config.c
  check_range() src/dinoex_config.c
  checkadminpass2() src/dinoex_config.c
  config_startup() src/dinoex_config.c
  invalid_args() src/dinoex_config.c
  parse_bool_val() src/dinoex_config.c
  parse_config_line() src/dinoex_config.c
  report_no_arg() src/dinoex_config.c
  set_config_list() src/dinoex_config.c
  set_config_string() src/dinoex_config.c

Global Variable current_bracket

unsigned int current_bracket
Visible in:   src/dinoex_admin.c
    src/dinoex_config.c
    src/dinoex_jobs.c
    src/dinoex_main.c
    src/dinoex_misc.c
    src/dinoex_ruby.c
    src/iroffer_admin.c
    src/iroffer_misc.c
    src/iroffer_utilities.c
Used in: a_read_config_files() src/dinoex_jobs.c
  c_bracket_close() src/dinoex_config.c
  c_bracket_open() src/dinoex_config.c
  c_network() src/dinoex_config.c
  parse_config_line() src/dinoex_config.c

Global Variable current_network

unsigned int current_network
Visible in:   src/dinoex_admin.c
    src/dinoex_config.c
    src/dinoex_jobs.c
    src/dinoex_main.c
    src/dinoex_misc.c
    src/dinoex_ruby.c
    src/iroffer_admin.c
    src/iroffer_misc.c
    src/iroffer_utilities.c
Used in: a_read_config_files() src/dinoex_jobs.c
  c_auth_name() src/dinoex_config.c
  c_channel() src/dinoex_config.c
  c_channel_join_raw() src/dinoex_config.c
  c_connectionmethod() src/dinoex_config.c
  c_getip_network() src/dinoex_config.c
  c_local_vhost() src/dinoex_config.c
  c_login_name() src/dinoex_config.c
  c_need_level() src/dinoex_config.c
  c_network() src/dinoex_config.c
  c_nickserv_pass() src/dinoex_config.c
  c_noannounce() src/dinoex_config.c
  c_offline() src/dinoex_config.c
  c_periodicmsg() src/dinoex_config.c
  c_plaintext() src/dinoex_config.c
  c_proxyinfo() src/dinoex_config.c
  c_respondtochannellist() src/dinoex_config.c
  c_respondtochannelxdcc() src/dinoex_config.c
  c_restrictlist() src/dinoex_config.c
  c_restrictsend() src/dinoex_config.c
  c_server() src/dinoex_config.c
  c_server_connect_timeout() src/dinoex_config.c
  c_server_connected_raw() src/dinoex_config.c
  c_server_join_raw() src/dinoex_config.c
  c_slow_privmsg() src/dinoex_config.c
  c_usenatip() src/dinoex_config.c
  c_user_modes() src/dinoex_config.c
  c_user_nick() src/dinoex_config.c
  set_default_network_name() src/dinoex_config.c

Local Variables

config_bool_anzahl
static int config_bool_anzahl
Used in: config_find_bool()  
  config_startup()  

config_parse_bool
NOTRANSLATE

static config_bool_typ config_parse_bool[]

Used in: config_name_bool()  
  dump_config_bool()  
  print_config_bool()  
  reset_config_bool()  
  set_config_bool()  

config_int_anzahl
static int config_int_anzahl

Used in: config_find_int()  
  config_startup()  

config_parse_int
NOTRANSLATE

static config_int_typ config_parse_int[]

Used in: config_name_int()  
  dump_config_int()  
  print_config_int()  
  reset_config_int()  
  set_config_int()  

config_string_anzahl
flags for strings 0 -> literal string 1 -> pathname 4 -> adminpass

static int config_string_anzahl

Used in: config_find_string()  
  config_startup()  

config_parse_string
NOTRANSLATE

static config_string_typ config_parse_string[]

Used in: config_name_string()  
  dump_config_string()  
  print_config_string()  
  reset_config_string()  
  set_config_string()  

config_list_anzahl
flags for lists 0 -> literal string 1 -> pathname 2 -> hostmask 3 -> admin hostmask 5 -> netmask

static int config_list_anzahl

Used in: config_find_list()  
  config_startup()  

config_parse_list
NOTRANSLATE

static config_list_typ config_parse_list[]

Used in: config_name_list()  
  dump_config_list()  
  reset_config_list()  
  set_config_list()  

d_weekdays
static char d_weekdays[8]

Used in: get_weekdays()  

config_func_anzahl
static int config_func_anzahl

Used in: config_find_func()  
  config_startup()  

config_parse_func
NOTRANSLATE

static config_func_typ config_parse_func[]

Used in: config_name_func()  
  set_config_func()  

config_fprint_anzahl
static int config_fprint_anzahl

Used in: config_find_fprint()  
  config_startup()  

config_parse_fprint
NOTRANSLATE

static config_fprint_typ config_parse_fprint[]

Used in: config_name_fprint()  
  print_config_fprint()  

config_fdump_anzahl
static int config_fdump_anzahl

Used in: config_startup()  

config_parse_fdump
NOTRANSLATE

static config_fdump_typ config_parse_fdump[]

Used in: config_name_fdump()  
  dump_config_fdump()  

Global Function config_dump()

dump the global config to console and logfile

void config_dump ( void )

Prototyped in: src/dinoex_config.h
Calls: dump_config_bool() src/dinoex_config.c
  dump_config_fdump() src/dinoex_config.c
  dump_config_int() src/dinoex_config.c
  dump_config_list() src/dinoex_config.c
  dump_config_string() src/dinoex_config.c
  dump_line() src/dinoex_config.c
Called by: dumpgdata() src/iroffer_utilities.c

Global Function config_expand()

expand config keyword to commandline

size_t config_expand ( char* buffer, size_t max, int print )

Prototyped in: src/dinoex_config.h
Calls: config_expand_list_typ() src/dinoex_config.c
  config_expand_search_typ() src/dinoex_config.c
  tostdout() src/iroffer_display.c
  updatecontext_f() src/iroffer_utilities.c
  snprintf(), strlen()
Called by: u_expand_args() src/iroffer_admin.c
References Functions: config_name_bool() src/dinoex_config.c
  config_name_fprint() src/dinoex_config.c
  config_name_func() src/dinoex_config.c
  config_name_int() src/dinoex_config.c
  config_name_string() src/dinoex_config.c

Global Function config_reset()

reset config to default values

void config_reset ( void )

Prototyped in: src/dinoex_config.h
Calls: reset_config_bool() src/dinoex_config.c
  reset_config_func() src/dinoex_config.c
  reset_config_int() src/dinoex_config.c
  reset_config_list() src/dinoex_config.c
  reset_config_string() src/dinoex_config.c
  updatecontext_f() src/iroffer_utilities.c
Called by: debug_memory() src/dinoex_main.c
  initvars() src/iroffer_misc.c
  u_rehash() src/iroffer_admin.c

Global Function config_startup()

check all tables are sorted for fast access

void config_startup ( void )

Prototyped in: src/dinoex_config.h
Calls: config_sorted_check() src/dinoex_config.c
Called by: startup_dinoex() src/dinoex_misc.c
References Functions: config_name_bool() src/dinoex_config.c
  config_name_fdump() src/dinoex_config.c
  config_name_fprint() src/dinoex_config.c
  config_name_func() src/dinoex_config.c
  config_name_int() src/dinoex_config.c
  config_name_list() src/dinoex_config.c
  config_name_string() src/dinoex_config.c
References Variables: config_bool_anzahl src/dinoex_config.c
  config_fdump_anzahl src/dinoex_config.c
  config_fprint_anzahl src/dinoex_config.c
  config_func_anzahl src/dinoex_config.c
  config_int_anzahl src/dinoex_config.c
  config_list_anzahl src/dinoex_config.c
  config_string_anzahl src/dinoex_config.c
  current_config src/dinoex_config.c
  current_line src/dinoex_config.c

Global Function dump_line()

dump a string to logfile

void dump_line ( const char* format, ... )

Prototyped in: src/dinoex_config.h
Calls: vioutput() src/iroffer_utilities.c
  __builtin_va_end(), __builtin_va_start()
Called by: config_dump() src/dinoex_config.c
  d_autoadd_group_match() src/dinoex_config.c
  d_autosendpack() src/dinoex_config.c
  d_group_admin() src/dinoex_config.c
  d_mime_type() src/dinoex_config.c
  d_overallmaxspeeddaytime() src/dinoex_config.c
  d_periodicmsg() src/dinoex_config.c
  d_transferlimits() src/dinoex_config.c
  dump_config_bool2() src/dinoex_config.c
  dump_config_fdump() src/dinoex_config.c
  dump_config_float2() src/dinoex_config.c
  dump_config_int2() src/dinoex_config.c
  dump_config_int4() src/iroffer_utilities.c
  dump_config_list() src/dinoex_config.c
  dump_config_long2() src/dinoex_config.c
  dump_config_string2() src/dinoex_config.c
  dump_config_string4() src/iroffer_utilities.c
  dumpgdata() src/iroffer_utilities.c

Global Function getconfig_set()

process a line of the config

void getconfig_set ( const char* line )

Prototyped in: src/dinoex_config.h
Calls: get_argv2() src/dinoex_utilities.c
  mydelete2() src/iroffer_utilities.c
  parse_config_line() src/dinoex_config.c
  updatecontext_f() src/iroffer_utilities.c
Called by: a_config() src/dinoex_admin.c
  a_read_config_files() src/dinoex_jobs.c

Global Function print_config_key()

pint a global config entry

char* print_config_key ( const char* key )

Prototyped in: src/dinoex_config.h
Calls: print_config_bool() src/dinoex_config.c
  print_config_fprint() src/dinoex_config.c
  print_config_int() src/dinoex_config.c
  print_config_string() src/dinoex_config.c
Called by: a_print() src/dinoex_admin.c
  cie_config() src/dinoex_ruby.c

Local Function c_auth_name()

static void c_auth_name ( const char* UNUSED_key, char* var )
Calls: mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_autoadd_group_match()

static void c_autoadd_group_match ( const char* key, char* var )
Calls: invalid_args() src/dinoex_config.c
  irlist_add2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  strchr()
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_autosendpack()

static void c_autosendpack ( const char* UNUSED_key, char* var )
Calls: get_argv2() src/dinoex_utilities.c
  irlist_add2() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  atoi()
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_bracket_close()

static void c_bracket_close ( const char* UNUSED_key, char* UNUSED_var )
Used in:   src/dinoex_config.c
References Variables: current_bracket src/dinoex_config.c

Local Function c_bracket_open()

static void c_bracket_open ( const char* UNUSED_key, char* UNUSED_var )
Used in:   src/dinoex_config.c
References Variables: current_bracket src/dinoex_config.c

Local Function c_channel()

static void c_channel ( const char* UNUSED_key, char* var )
Calls: caps() src/dinoex_utilities.c
  get_argv2() src/dinoex_utilities.c
  irlist_add2() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  outerror() src/iroffer_utilities.c
  parse_channel_options() src/dinoex_config.c
  updatecontext_f() src/iroffer_utilities.c
  strcmp()
Used in:   src/dinoex_config.c
References Variables: current_config src/dinoex_config.c
  current_line src/dinoex_config.c
  current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_channel_join_raw()

static void c_channel_join_raw ( const char* key, char* var )
Calls: invalid_args() src/dinoex_config.c
  irlist_add_string() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_connectionmethod()

static void c_connectionmethod ( const char* UNUSED_key, char* var )
Calls: get_argv2() src/dinoex_utilities.c
  mydelete2() src/iroffer_utilities.c
  outerror() src/iroffer_utilities.c
  atoi(), bzero(), strcmp()
Used in:   src/dinoex_config.c
References Variables: current_config src/dinoex_config.c
  current_line src/dinoex_config.c
  current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_disk_quota()

static void c_disk_quota ( const char* UNUSED_key, char* var )
Calls: atoull() src/iroffer_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_getip_network()

static void c_getip_network ( const char* key, char* var )
Calls: get_network() src/dinoex_admin.c
  outerror() src/iroffer_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_config src/dinoex_config.c
  current_line src/dinoex_config.c
  current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_group_admin()

static void c_group_admin ( const char* key, char* var )
Calls: irlist_add2() src/iroffer_utilities.c
  irlist_delete() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  outerror() src/iroffer_utilities.c
  atoi(), strtok()
Used in:   src/dinoex_config.c
References Variables: current_config src/dinoex_config.c
  current_line src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_ignoreduplicateip()

static void c_ignoreduplicateip ( const char* key, char* var )
Calls: parse_bool_val() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_local_vhost()

static void c_local_vhost ( const char* UNUSED_key, char* var )
Calls: mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_login_name()

static void c_login_name ( const char* UNUSED_key, char* var )
Calls: mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_logrotate()

static void c_logrotate ( const char* UNUSED_key, char* var )
Calls: atoi(), strcmp()
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_mime_type()

static void c_mime_type ( const char* key, char* var )
Calls: invalid_args() src/dinoex_config.c
  irlist_add2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  strchr()
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_need_level()

static void c_need_level ( const char* key, char* var )
Calls: check_range() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_network()

static void c_network ( const char* UNUSED_key, char* var )
Calls: irlist_size() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  outerror() src/iroffer_utilities.c
  set_default_network_name() src/dinoex_config.c
  strcasecmp(), strchr()
Used in:   src/dinoex_config.c
References Variables: current_bracket src/dinoex_config.c
  current_config src/dinoex_config.c
  current_line src/dinoex_config.c
  current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_nickserv_pass()

static void c_nickserv_pass ( const char* UNUSED_key, char* var )
Calls: mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_noannounce()

static void c_noannounce ( const char* key, char* var )
Calls: parse_bool_val() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_offline()

static void c_offline ( const char* key, char* var )
Calls: parse_bool_val() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_overallmaxspeeddaydays()

static void c_overallmaxspeeddaydays ( const char* UNUSED_key, char* var )
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_overallmaxspeeddaytime()

static void c_overallmaxspeeddaytime ( const char* UNUSED_key, char* var )
Calls: get_argv2() src/dinoex_utilities.c
  mydelete2() src/iroffer_utilities.c
  atoi()
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_periodicmsg()

static void c_periodicmsg ( const char* key, char* var )
Calls: get_argv2() src/dinoex_utilities.c
  invalid_args() src/dinoex_config.c
  irlist_add2() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  atoi()
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_plaintext()

static void c_plaintext ( const char* key, char* var )
Calls: parse_bool_val() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_proxyinfo()

static void c_proxyinfo ( const char* key, char* var )
Calls: invalid_args() src/dinoex_config.c
  irlist_add_string() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_respondtochannellist()

static void c_respondtochannellist ( const char* key, char* var )
Calls: parse_bool_val() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_respondtochannelxdcc()

static void c_respondtochannelxdcc ( const char* key, char* var )
Calls: parse_bool_val() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_restrictlist()

static void c_restrictlist ( const char* key, char* var )
Calls: parse_bool_val() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_restrictsend()

static void c_restrictsend ( const char* key, char* var )
Calls: parse_bool_val() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_send_listfile()

static void c_send_listfile ( const char* key, char* var )
Calls: check_range() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_server()

static void c_server ( const char* key, char* var )
Calls: get_argv2() src/dinoex_utilities.c
  invalid_args() src/dinoex_config.c
  irlist_add2() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  set_default_network_name() src/dinoex_config.c
  atoi()
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_server_connect_timeout()

static void c_server_connect_timeout ( const char* key, char* var )
Calls: check_range() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_server_connected_raw()

static void c_server_connected_raw ( const char* key, char* var )
Calls: invalid_args() src/dinoex_config.c
  irlist_add_string() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_server_join_raw()

static void c_server_join_raw ( const char* key, char* var )
Calls: invalid_args() src/dinoex_config.c
  irlist_add_string() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_slotsmax()

static void c_slotsmax ( const char* UNUSED_key, char* var )
Calls: outerror() src/iroffer_utilities.c
  atoi()
Used in:   src/dinoex_config.c
References Variables: current_config src/dinoex_config.c
  current_line src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_slow_privmsg()

static void c_slow_privmsg ( const char* key, char* var )
Calls: check_range() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_statefile()

static void c_statefile ( const char* UNUSED_key, char* var )
Calls: convert_to_unix_slash() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  close(), open()
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_transferlimits()

static void c_transferlimits ( const char* UNUSED_key, char* var )
Calls: get_argv2() src/dinoex_utilities.c
  mydelete2() src/iroffer_utilities.c
  atoi(), bzero()
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_transfermaxspeed()

static void c_transfermaxspeed ( const char* UNUSED_key, char* var )
Calls: atof()
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_transferminspeed()

static void c_transferminspeed ( const char* UNUSED_key, char* var )
Calls: atof()
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_uploadmaxsize()

static void c_uploadmaxsize ( const char* UNUSED_key, char* var )
Calls: atoull() src/iroffer_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_uploadminspace()

static void c_uploadminspace ( const char* UNUSED_key, char* var )
Calls: atoull() src/iroffer_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function c_usenatip()

static void c_usenatip ( const char* UNUSED_key, char* var )
Calls: mystrdup2() src/dinoex_utilities.c
  update_natip() src/dinoex_irc.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function c_user_modes()

static void c_user_modes ( const char* UNUSED_key, char* var )
Calls: mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function c_user_nick()

static void c_user_nick ( const char* UNUSED_key, char* var )
Calls: mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function check_range()

static unsigned int check_range ( const char* key, const char* text, int* val, int min, int max )
Calls: invalid_args() src/dinoex_config.c
  outerror() src/iroffer_utilities.c
  report_no_arg() src/dinoex_config.c
  strtol()
Called by: c_need_level() src/dinoex_config.c
  c_send_listfile() src/dinoex_config.c
  c_server_connect_timeout() src/dinoex_config.c
  c_slow_privmsg() src/dinoex_config.c
  set_config_int() src/dinoex_config.c
References Variables: current_config src/dinoex_config.c
  current_line src/dinoex_config.c

Local Function checkadminpass2()

validate config and warn if password is not encrypted

static void checkadminpass2 ( const char* key, const char* masterpass )

Calls: outerror() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
  strlen()
Called by: set_config_string() src/dinoex_config.c
References Variables: current_config src/dinoex_config.c
  current_line src/dinoex_config.c

Local Function config_expand_list_typ()

static void config_expand_list_typ ( config_name_t config_name_f, const char* key, size_t len, const char* first )
Calls: tostdout() src/iroffer_display.c
  strncmp()
Called by: config_expand() src/dinoex_config.c

Local Function config_expand_search_typ()

static size_t config_expand_search_typ ( config_name_t config_name_f, const char* key, size_t len, const char** first )
Calls: strncmp()
Called by: config_expand() src/dinoex_config.c

Local Function config_find_bool()

static int config_find_bool ( const char* key )
Calls: config_find_typ() src/dinoex_config.c
Called by: print_config_bool() src/dinoex_config.c
  set_config_bool() src/dinoex_config.c
References Functions: config_name_bool() src/dinoex_config.c
References Variables: config_bool_anzahl src/dinoex_config.c

Local Function config_find_fprint()

static int config_find_fprint ( const char* key )
Calls: config_find_typ() src/dinoex_config.c
Called by: print_config_fprint() src/dinoex_config.c
References Functions: config_name_fprint() src/dinoex_config.c
References Variables: config_fprint_anzahl src/dinoex_config.c

Local Function config_find_func()

static int config_find_func ( const char* key )
Calls: config_find_typ() src/dinoex_config.c
Called by: set_config_func() src/dinoex_config.c
References Functions: config_name_func() src/dinoex_config.c
References Variables: config_func_anzahl src/dinoex_config.c

Local Function config_find_int()

static int config_find_int ( const char* key )
Calls: config_find_typ() src/dinoex_config.c
Called by: print_config_int() src/dinoex_config.c
  set_config_int() src/dinoex_config.c
References Functions: config_name_int() src/dinoex_config.c
References Variables: config_int_anzahl src/dinoex_config.c

Local Function config_find_list()

static int config_find_list ( const char* key )
Calls: config_find_typ() src/dinoex_config.c
Called by: set_config_list() src/dinoex_config.c
References Functions: config_name_list() src/dinoex_config.c
References Variables: config_list_anzahl src/dinoex_config.c

Local Function config_find_string()

static int config_find_string ( const char* key )
Calls: config_find_typ() src/dinoex_config.c
Called by: print_config_string() src/dinoex_config.c
  set_config_string() src/dinoex_config.c
References Functions: config_name_string() src/dinoex_config.c
References Variables: config_string_anzahl src/dinoex_config.c

Local Function config_find_typ()

static int config_find_typ ( config_name_t config_name_f, const char* key, int bin_high )
Calls: strcmp()
Called by: config_find_bool() src/dinoex_config.c
  config_find_fprint() src/dinoex_config.c
  config_find_func() src/dinoex_config.c
  config_find_int() src/dinoex_config.c
  config_find_list() src/dinoex_config.c
  config_find_string() src/dinoex_config.c

Local Function config_name_bool()

static const char* config_name_bool ( unsigned int i )
Used in: config_expand() src/dinoex_config.c
  config_find_bool() src/dinoex_config.c
  config_startup() src/dinoex_config.c
References Variables: config_parse_bool src/dinoex_config.c

Local Function config_name_fdump()

static const char* config_name_fdump ( unsigned int i )
Used in: config_startup() src/dinoex_config.c
References Variables: config_parse_fdump src/dinoex_config.c

Local Function config_name_fprint()

static const char* config_name_fprint ( unsigned int i )
Used in: config_expand() src/dinoex_config.c
  config_find_fprint() src/dinoex_config.c
  config_startup() src/dinoex_config.c
References Variables: config_parse_fprint src/dinoex_config.c

Local Function config_name_func()

static const char* config_name_func ( unsigned int i )
Used in: config_expand() src/dinoex_config.c
  config_find_func() src/dinoex_config.c
  config_startup() src/dinoex_config.c
References Variables: config_parse_func src/dinoex_config.c

Local Function config_name_int()

static const char* config_name_int ( unsigned int i )
Used in: config_expand() src/dinoex_config.c
  config_find_int() src/dinoex_config.c
  config_startup() src/dinoex_config.c
References Variables: config_parse_int src/dinoex_config.c

Local Function config_name_list()

static const char* config_name_list ( unsigned int i )
Used in: config_find_list() src/dinoex_config.c
  config_startup() src/dinoex_config.c
References Variables: config_parse_list src/dinoex_config.c

Local Function config_name_string()

static const char* config_name_string ( unsigned int i )
Used in: config_expand() src/dinoex_config.c
  config_find_string() src/dinoex_config.c
  config_startup() src/dinoex_config.c
References Variables: config_parse_string src/dinoex_config.c

Local Function config_sorted_check()

static int config_sorted_check ( config_name_t config_name_f )
Calls: outerror() src/iroffer_utilities.c
  strcmp()
Called by: config_startup() src/dinoex_config.c

Local Function d_autoadd_group_match()

static void d_autoadd_group_match ( const char* key )
Calls: dump_line() src/dinoex_config.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_autosendpack()

static void d_autosendpack ( const char* key )
Calls: dump_line() src/dinoex_config.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_disk_quota()

static void d_disk_quota ( const char* key )
Calls: dump_config_mega2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_group_admin()

static void d_group_admin ( const char* key )
Calls: dump_line() src/dinoex_config.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_logrotate()

static void d_logrotate ( const char* key )
Calls: dump_config_int3() src/dinoex_config.c
  dump_config_string2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_mime_type()

static void d_mime_type ( const char* key )
Calls: dump_line() src/dinoex_config.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_overallmaxspeeddaydays()

static void d_overallmaxspeeddaydays ( const char* key )
Calls: dump_config_string2() src/dinoex_config.c
  get_weekdays() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_overallmaxspeeddaytime()

static void d_overallmaxspeeddaytime ( const char* key )
Calls: dump_line() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_periodicmsg()

static void d_periodicmsg ( const char* key, unsigned int net )
Calls: dump_line() src/dinoex_config.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
Called by: dump_config_fdump() src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_slotsmax()

static void d_slotsmax ( const char* key )
Calls: dump_config_int3() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_statefile()

static void d_statefile ( const char* key )
Calls: dump_config_string3() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_transferlimits()

static void d_transferlimits ( const char* key )
Calls: dump_line() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_transfermaxspeed()

static void d_transfermaxspeed ( const char* key )
Calls: dump_config_float2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_transferminspeed()

static void d_transferminspeed ( const char* key )
Calls: dump_config_float2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_uploadmaxsize()

static void d_uploadmaxsize ( const char* key )
Calls: dump_config_mega2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function d_uploadminspace()

static void d_uploadminspace ( const char* key )
Calls: dump_config_mega2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function dump_config_bool()

static void dump_config_bool ( void )
Calls: dump_config_bool3() src/dinoex_config.c
Called by: config_dump() src/dinoex_config.c
References Variables: config_parse_bool src/dinoex_config.c

Local Function dump_config_bool2()

dump an bool variable to logfile

static void dump_config_bool2 ( const char* name, unsigned int val )

Calls: dump_line() src/dinoex_config.c
Called by: dump_config_bool3() src/dinoex_config.c

Local Function dump_config_bool3()

dump an bool variable to logfile if defined

static void dump_config_bool3 ( const char* name, unsigned int val, unsigned int reset )

Calls: dump_config_bool2() src/dinoex_config.c
Called by: dump_config_bool() src/dinoex_config.c
  dump_config_fdump() src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function dump_config_fdump()

static void dump_config_fdump ( void )
Calls: d_periodicmsg() src/dinoex_config.c
  dump_config_bool3() src/dinoex_config.c
  dump_config_int3() src/dinoex_config.c
  dump_config_list2() src/dinoex_config.c
  dump_config_string2() src/dinoex_config.c
  dump_config_string3() src/dinoex_config.c
  dump_line() src/dinoex_config.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  text_connectionmethod() src/dinoex_misc.c
  text_pformat() src/dinoex_misc.c
  snprintf()
Called by: config_dump() src/dinoex_config.c
References Variables: config_parse_fdump src/dinoex_config.c
  gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function dump_config_float2()

dump an float variable to logfile

static void dump_config_float2 ( const char* name, float val )

Calls: dump_line() src/dinoex_config.c
Called by: d_transfermaxspeed() src/dinoex_config.c
  d_transferminspeed() src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function dump_config_int()

static void dump_config_int ( void )
Calls: dump_config_int2() src/dinoex_config.c
Called by: config_dump() src/dinoex_config.c
References Variables: config_parse_int src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function dump_config_int2()

dump an integer variable to logfile

static void dump_config_int2 ( const char* name, unsigned int val )

Calls: dump_line() src/dinoex_config.c
Called by: dump_config_int() src/dinoex_config.c
  dump_config_int3() src/dinoex_config.c

Local Function dump_config_int3()

dump an integer variable to logfile if defined

static void dump_config_int3 ( const char* name, unsigned int val, unsigned int reset )

Calls: dump_config_int2() src/dinoex_config.c
Called by: d_logrotate() src/dinoex_config.c
  d_slotsmax() src/dinoex_config.c
  dump_config_fdump() src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function dump_config_list()

static void dump_config_list ( void )
Calls: dump_config_list2() src/dinoex_config.c
  dump_line() src/dinoex_config.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  irlist_size() src/iroffer_utilities.c
  my_getnameinfo() src/dinoex_irc.c
Called by: config_dump() src/dinoex_config.c
References Variables: config_parse_list src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function dump_config_list2()

dump a list variable to logfile skip if not defined

static void dump_config_list2 ( const char* name, const irlist_t* list )

Calls: dump_config_string2() src/dinoex_config.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
Called by: dump_config_fdump() src/dinoex_config.c
  dump_config_list() src/dinoex_config.c

Local Function dump_config_long2()

dump an 64bit variable to logfile

static void dump_config_long2 ( const char* name, ir_int64 val )

Calls: dump_line() src/dinoex_config.c
Called by: dump_config_mega2() src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function dump_config_mega2()

dump an megabyte variable to logfile

static void dump_config_mega2 ( const char* name, ir_int64 val )

Calls: dump_config_long2() src/dinoex_config.c
Called by: d_disk_quota() src/dinoex_config.c
  d_uploadmaxsize() src/dinoex_config.c
  d_uploadminspace() src/dinoex_config.c

Local Function dump_config_string()

static void dump_config_string ( void )
Calls: dump_config_string3() src/dinoex_config.c
Called by: config_dump() src/dinoex_config.c
References Variables: config_parse_string src/dinoex_config.c

Local Function dump_config_string2()

dump a string variable to logfile

static void dump_config_string2 ( const char* name, const char* val )

Calls: dump_line() src/dinoex_config.c
Called by: d_logrotate() src/dinoex_config.c
  d_overallmaxspeeddaydays() src/dinoex_config.c
  dump_config_fdump() src/dinoex_config.c
  dump_config_list2() src/dinoex_config.c
  dump_config_string3() src/dinoex_config.c

Local Function dump_config_string3()

dump a string variable to logfile skip if not defined

static void dump_config_string3 ( const char* name, const char* val )

Calls: dump_config_string2() src/dinoex_config.c
Called by: d_statefile() src/dinoex_config.c
  dump_config_fdump() src/dinoex_config.c
  dump_config_string() src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function get_netmask()

static int get_netmask ( char* text, int init )
Calls: atoi(), strchr()
Called by: set_config_list() src/dinoex_config.c

Local Function get_toffered()

static off_t get_toffered ( void )
Calls: hide_pack() src/dinoex_misc.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
Called by: p_disk_space() src/dinoex_config.c
  p_disk_space_text() src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function get_weekdays()

static void get_weekdays ( char* src )
Called by: d_overallmaxspeeddaydays() src/dinoex_config.c
  p_overallmaxspeeddaydays() src/dinoex_config.c
References Variables: d_weekdays src/dinoex_config.c
  gdata src/dinoex_main.c

Local Function invalid_args()

static void invalid_args ( const char* key, const char* text )
Calls: outerror() src/iroffer_utilities.c
Called by: c_autoadd_group_match() src/dinoex_config.c
  c_channel_join_raw() src/dinoex_config.c
  c_mime_type() src/dinoex_config.c
  c_periodicmsg() src/dinoex_config.c
  c_proxyinfo() src/dinoex_config.c
  c_server() src/dinoex_config.c
  c_server_connected_raw() src/dinoex_config.c
  c_server_join_raw() src/dinoex_config.c
  check_range() src/dinoex_config.c
  set_config_list() src/dinoex_config.c
References Variables: current_config src/dinoex_config.c
  current_line src/dinoex_config.c

Local Function p_auth_name()

static char* p_auth_name ( void )
Calls: mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_bandmax()

static char* p_bandmax ( void )
Calls: mymalloc2() src/iroffer_utilities.c
  snprintf()
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_banduse()

static char* p_banduse ( void )
Calls: get_current_bandwidth() src/dinoex_misc.c
Used in:   src/dinoex_config.c

Local Function p_disk_quota()

static char* p_disk_quota ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_disk_space()

static char* p_disk_space ( void )
Calls: get_toffered() src/dinoex_config.c
  print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c

Local Function p_disk_space_text()

static char* p_disk_space_text ( void )
Calls: get_toffered() src/dinoex_config.c
  sizestr() src/dinoex_utilities.c
Used in:   src/dinoex_config.c

Local Function p_getip_network()

static char* p_getip_network ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_idlequeueused()

static char* p_idlequeueused ( void )
Calls: irlist_size() src/iroffer_utilities.c
  print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_ignoreduplicateip()

static char* p_ignoreduplicateip ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_local_vhost()

static char* p_local_vhost ( void )
Calls: mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_login_name()

static char* p_login_name ( void )
Calls: mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_logrotate()

static char* p_logrotate ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_mainqueueused()

static char* p_mainqueueused ( void )
Calls: irlist_size() src/iroffer_utilities.c
  print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_need_level()

static char* p_need_level ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_nickserv_pass()

static char* p_nickserv_pass ( void )
Calls: mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_noannounce()

static char* p_noannounce ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_offline()

static char* p_offline ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_overallmaxspeeddaydays()

static char* p_overallmaxspeeddaydays ( void )
Calls: get_weekdays() src/dinoex_config.c
  mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c

Local Function p_packsum()

static char* p_packsum ( void )
Calls: irlist_size() src/iroffer_utilities.c
  print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_plaintext()

static char* p_plaintext ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_respondtochannellist()

static char* p_respondtochannellist ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_respondtochannelxdcc()

static char* p_respondtochannelxdcc ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_restrictlist()

static char* p_restrictlist ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_restrictsend()

static char* p_restrictsend ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_send_listfile()

static char* p_send_listfile ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_slotsfree()

static char* p_slotsfree ( void )
Calls: print_config_long2() src/dinoex_config.c
  slotsfree() src/dinoex_misc.c
Used in:   src/dinoex_config.c

Local Function p_slotsmax()

static char* p_slotsmax ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_slotsused()

static char* p_slotsused ( void )
Calls: irlist_size() src/iroffer_utilities.c
  print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_slow_privmsg()

static char* p_slow_privmsg ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_statefile()

static char* p_statefile ( void )
Calls: mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_totaluptime()

static char* p_totaluptime ( void )
Calls: getuptime() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_transfereddaily()

static char* p_transfereddaily ( void )
Calls: sizestr() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_transferedmonthly()

static char* p_transferedmonthly ( void )
Calls: sizestr() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_transferedtotal()

static char* p_transferedtotal ( void )
Calls: sizestr() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_transferedtotalbytes()

static char* p_transferedtotalbytes ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_transferedweekly()

static char* p_transferedweekly ( void )
Calls: sizestr() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_uploadmaxsize()

static char* p_uploadmaxsize ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_uploadminspace()

static char* p_uploadminspace ( void )
Calls: print_config_long2() src/dinoex_config.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_uptime()

static char* p_uptime ( void )
Calls: getuptime() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
Used in:   src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function p_usenatip()

static char* p_usenatip ( void )
Calls: mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_user_modes()

static char* p_user_modes ( void )
Calls: mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_user_nick()

static char* p_user_nick ( void )
Calls: mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c
References Variables: gnetwork src/dinoex_main.c

Local Function p_version()

static char* p_version ( void )
Calls: mystrdup2() src/dinoex_utilities.c
Used in:   src/dinoex_config.c

Local Function parse_bool_val()

static int parse_bool_val ( const char* key, const char* text )
Calls: outerror() src/iroffer_utilities.c
  strcmp()
Called by: c_ignoreduplicateip() src/dinoex_config.c
  c_noannounce() src/dinoex_config.c
  c_offline() src/dinoex_config.c
  c_plaintext() src/dinoex_config.c
  c_respondtochannellist() src/dinoex_config.c
  c_respondtochannelxdcc() src/dinoex_config.c
  c_restrictlist() src/dinoex_config.c
  c_restrictsend() src/dinoex_config.c
  set_config_bool() src/dinoex_config.c
References Variables: current_config src/dinoex_config.c
  current_line src/dinoex_config.c

Local Function parse_channel_format()

static int parse_channel_format ( unsigned short* iptr, char* tptr2 )
Calls: strcmp()
Called by: parse_channel_option() src/dinoex_config.c

Local Function parse_channel_int()

static int parse_channel_int ( unsigned short* iptr, char** part, unsigned int i )
Calls: mydelete2() src/iroffer_utilities.c
  atoi()
Called by: parse_channel_option() src/dinoex_config.c

Local Function parse_channel_option()

static int parse_channel_option ( channel_t* cptr, char* tptr, char** part, unsigned int i )
Calls: mydelete2() src/iroffer_utilities.c
  parse_channel_format() src/dinoex_config.c
  parse_channel_int() src/dinoex_config.c
  parse_channel_string() src/dinoex_config.c
  strcmp()
Called by: parse_channel_options() src/dinoex_config.c

Local Function parse_channel_options()

static int parse_channel_options ( channel_t* cptr, char* var )
Calls: get_argv2() src/dinoex_utilities.c
  mydelete2() src/iroffer_utilities.c
  parse_channel_option() src/dinoex_config.c
Called by: c_channel() src/dinoex_config.c

Local Function parse_channel_string()

static int parse_channel_string ( char** cptr, char** part, unsigned int i )
Called by: parse_channel_option() src/dinoex_config.c

Local Function parse_config_line()

static void parse_config_line ( char** part )
Calls: outerror() src/iroffer_utilities.c
  set_config_bool() src/dinoex_config.c
  set_config_func() src/dinoex_config.c
  set_config_int() src/dinoex_config.c
  set_config_list() src/dinoex_config.c
  set_config_string() src/dinoex_config.c
Called by: getconfig_set() src/dinoex_config.c
References Variables: current_bracket src/dinoex_config.c
  current_config src/dinoex_config.c
  current_line src/dinoex_config.c

Local Function print_config_bool()

static char* print_config_bool ( const char* key )
Calls: config_find_bool() src/dinoex_config.c
  mystrdup2() src/dinoex_utilities.c
  updatecontext_f() src/iroffer_utilities.c
Called by: print_config_key() src/dinoex_config.c
References Variables: config_parse_bool src/dinoex_config.c

Local Function print_config_fprint()

static char* print_config_fprint ( const char* key )
Calls: config_find_fprint() src/dinoex_config.c
  updatecontext_f() src/iroffer_utilities.c
Called by: print_config_key() src/dinoex_config.c
References Variables: config_parse_fprint src/dinoex_config.c

Local Function print_config_int()

static char* print_config_int ( const char* key )
Calls: config_find_int() src/dinoex_config.c
  mymalloc2() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
  snprintf()
Called by: print_config_key() src/dinoex_config.c
References Variables: config_parse_int src/dinoex_config.c

Local Function print_config_long2()

static char* print_config_long2 ( ir_int64 val )
Calls: mymalloc2() src/iroffer_utilities.c
  snprintf()
Called by: p_disk_quota() src/dinoex_config.c
  p_disk_space() src/dinoex_config.c
  p_getip_network() src/dinoex_config.c
  p_idlequeueused() src/dinoex_config.c
  p_ignoreduplicateip() src/dinoex_config.c
  p_logrotate() src/dinoex_config.c
  p_mainqueueused() src/dinoex_config.c
  p_need_level() src/dinoex_config.c
  p_noannounce() src/dinoex_config.c
  p_offline() src/dinoex_config.c
  p_packsum() src/dinoex_config.c
  p_plaintext() src/dinoex_config.c
  p_respondtochannellist() src/dinoex_config.c
  p_respondtochannelxdcc() src/dinoex_config.c
  p_restrictlist() src/dinoex_config.c
  p_restrictsend() src/dinoex_config.c
  p_send_listfile() src/dinoex_config.c
  p_slotsfree() src/dinoex_config.c
  p_slotsmax() src/dinoex_config.c
  p_slotsused() src/dinoex_config.c
  p_slow_privmsg() src/dinoex_config.c
  p_transferedtotalbytes() src/dinoex_config.c
  p_uploadmaxsize() src/dinoex_config.c
  p_uploadminspace() src/dinoex_config.c

Local Function print_config_string()

static char* print_config_string ( const char* key )
Calls: config_find_string() src/dinoex_config.c
  mystrdup2() src/dinoex_utilities.c
  updatecontext_f() src/iroffer_utilities.c
Called by: print_config_key() src/dinoex_config.c
References Variables: config_parse_string src/dinoex_config.c

Local Function report_no_arg()

static unsigned int report_no_arg ( const char* key, const char* text )
Calls: outerror() src/iroffer_utilities.c
Called by: check_range() src/dinoex_config.c
  set_config_list() src/dinoex_config.c
  set_config_string() src/dinoex_config.c
References Variables: current_config src/dinoex_config.c
  current_line src/dinoex_config.c

Local Function reset_config_bool()

static void reset_config_bool ( void )
Called by: config_reset() src/dinoex_config.c
References Variables: config_parse_bool src/dinoex_config.c

Local Function reset_config_func()

static void reset_config_func ( void )
Calls: irlist_delete() src/iroffer_utilities.c
  irlist_delete_all() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
Called by: config_reset() src/dinoex_config.c
References Variables: gdata src/dinoex_main.c

Local Function reset_config_int()

static void reset_config_int ( void )
Called by: config_reset() src/dinoex_config.c
References Variables: config_parse_int src/dinoex_config.c

Local Function reset_config_list()

static void reset_config_list ( void )
Calls: irlist_delete_all() src/iroffer_utilities.c
Called by: config_reset() src/dinoex_config.c
References Variables: config_parse_list src/dinoex_config.c

Local Function reset_config_string()

static void reset_config_string ( void )
Calls: mydelete2() src/iroffer_utilities.c
Called by: config_reset() src/dinoex_config.c
References Variables: config_parse_string src/dinoex_config.c

Local Function set_config_bool()

static unsigned int set_config_bool ( const char* key, const char* text )
Calls: config_find_bool() src/dinoex_config.c
  parse_bool_val() src/dinoex_config.c
  updatecontext_f() src/iroffer_utilities.c
Called by: parse_config_line() src/dinoex_config.c
References Variables: config_parse_bool src/dinoex_config.c

Local Function set_config_func()

static int set_config_func ( const char* key, char* text )
Calls: config_find_func() src/dinoex_config.c
  updatecontext_f() src/iroffer_utilities.c
Called by: parse_config_line() src/dinoex_config.c
References Variables: config_parse_func src/dinoex_config.c

Local Function set_config_int()

static unsigned int set_config_int ( const char* key, const char* text )
Calls: check_range() src/dinoex_config.c
  config_find_int() src/dinoex_config.c
  updatecontext_f() src/iroffer_utilities.c
Called by: parse_config_line() src/dinoex_config.c
References Variables: config_parse_int src/dinoex_config.c

Local Function set_config_list()

static unsigned int set_config_list ( const char* key, char* text )
Calls: config_find_list() src/dinoex_config.c
  convert_to_unix_slash() src/iroffer_utilities.c
  get_netmask() src/dinoex_config.c
  hostmask_to_fnmatch() src/dinoex_utilities.c
  invalid_args() src/dinoex_config.c
  irlist_add2() src/iroffer_utilities.c
  irlist_add_string() src/dinoex_utilities.c
  irlist_delete() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  outerror() src/iroffer_utilities.c
  report_no_arg() src/dinoex_config.c
  updatecontext_f() src/iroffer_utilities.c
  __inet_pton(), strchr(), strlen()
Called by: parse_config_line() src/dinoex_config.c
References Variables: config_parse_list src/dinoex_config.c
  current_config src/dinoex_config.c
  current_line src/dinoex_config.c

Local Function set_config_string()

static unsigned int set_config_string ( const char* key, char* text )
Calls: checkadminpass2() src/dinoex_config.c
  config_find_string() src/dinoex_config.c
  convert_to_unix_slash() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  outerror() src/iroffer_utilities.c
  report_no_arg() src/dinoex_config.c
  updatecontext_f() src/iroffer_utilities.c
  strchr()
Called by: parse_config_line() src/dinoex_config.c
References Variables: config_parse_string src/dinoex_config.c
  current_config src/dinoex_config.c
  current_line src/dinoex_config.c

Local Function set_default_network_name()

static void set_default_network_name ( void )
Calls: mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  snprintf()
Called by: c_network() src/dinoex_config.c
  c_server() src/dinoex_config.c
References Variables: current_network src/dinoex_config.c
  gdata src/dinoex_main.c