File conf.c


Included Files


Global Variable conf_table

struct pd_ht conf_table
Visible in:  ascii_to_ded.c
   assign.c
   bailout.c
   cmap.c
   common.c
   conf.c
Used in: conf_init()conf.c
  conf_print()conf.c
  conf_set()conf.c
  config()conf.c

Global Function conf_cmdline()

void conf_cmdline ( int argc, char** argv )
Prototyped in: conf.h
Calls: conf_doline()conf.c

Global Function conf_init()

int conf_init ( void )
Prototyped in: conf.h
Calls: conf_set()conf.c
  pd_ht_init()
References Variables: conf_tableconf.c

Global Function conf_print()

void conf_print ( FILE* where )
Prototyped in: conf.h
Calls: fprintf(), pd_ht_firstentry(), pd_ht_nextentry()
References Variables: conf_tableconf.c

Global Function conf_readfile()

void conf_readfile ( char* directory, char* fname )
Prototyped in: conf.h
Calls: conf_doline()conf.c
  exit(), fclose(), fflush(), fgets(), fopen(), perror(), sprintf(), strrchr()

Global Function conf_set()

int conf_set ( char* var, char* val )
Prototyped in: conf.h
Calls: pd_ht_stash(), putenv(), sprintf(), strcmp(), strdup()
Called by: conf_doline()conf.c
  conf_init()conf.c
References Functions: free()
References Variables: conf_tableconf.c

Global Function conf_usage()

void conf_usage ( void )
Prototyped in: conf.h
Calls: exit(), fprintf()

Global Function config()

char* config ( char* var )
Prototyped in: conf.h
Calls: pd_ht_fetch()
Called by: inform_rgd()bailout.c
  real_bailout()bailout.c
References Variables: conf_tableconf.c

Local Function conf_doline()

static int conf_doline ( char* tmp )
Prototyped in: conf.c
Calls: conf_set()conf.c
  strchr(), strcspn(), strncpy()
Called by: conf_cmdline()conf.c
  conf_readfile()conf.c