mess822x 1.23
mess822x
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
config.h File Reference
#include "stralloc.h"
Include dependency graph for config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  config_str
 

Macros

#define CONFIG_STR   {{0},0}
 
#define config(c)   ((c)->flagconf)
 
#define config_data(c)   (&((c)->sa))
 

Functions

int config_default (config_str *, char *)
 
int config_copy (config_str *, config_str *)
 
int config_env (config_str *, char *)
 
int config_readline (config_str *, char *)
 
int config_readfile (config_str *, char *)
 

Macro Definition Documentation

◆ config

#define config (   c)    ((c)->flagconf)

Definition at line 13 of file config.h.

◆ config_data

#define config_data (   c)    (&((c)->sa))

Definition at line 14 of file config.h.

◆ CONFIG_STR

#define CONFIG_STR   {{0},0}

Definition at line 11 of file config.h.

Function Documentation

◆ config_copy()

int config_copy ( config_str c,
config_str d 
)

Definition at line 19 of file config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ config_default()

int config_default ( config_str c,
char *  s 
)

Definition at line 10 of file config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ config_env()

int config_env ( config_str c,
char *  s 
)

Definition at line 28 of file config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ config_readfile()

int config_readfile ( config_str c,
char *  fn 
)

Definition at line 84 of file config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ config_readline()

int config_readline ( config_str c,
char *  fn 
)

Definition at line 57 of file config.c.

Here is the call graph for this function:
Here is the caller graph for this function: