Go to the source code of this file.
Data Structures | |
struct | _veldfire |
Veldfire Structure. More... | |
Typedefs | |
typedef _veldfire | veldfire |
Veldfire Structure. | |
Functions | |
veldfire * | VF__init (int ac, char *av[]) |
Initialise a veldfire data structure. | |
char * | VF__get_msg (veldfire *v) |
Get the email message, either via the terminal or via stdin (eg pipe). | |
void | VF__version (veldfire *v) |
Print a version information string. | |
void | VF__help (veldfire *v) |
Usage message printed to standard out. | |
int | VF__check_config (veldfire *v) |
Check the configuration for sanity. | |
void | VF__cleanup (veldfire *v) |
Release resources. |
Definition in file init.h.
|
Veldfire Structure. Contains everything we need to know |
|
Check the configuration for sanity.
Definition at line 558 of file init.c. References _veldfire::files, _veldfire::to, and VF__help(). Referenced by VF__init(). Here is the call graph for this function: ![]() |
|
Release resources.
Definition at line 146 of file init.c. References __veldfire_cleanup(). Referenced by main(). Here is the call graph for this function: ![]() |
|
Get the email message, either via the terminal or via stdin (eg pipe).
Definition at line 613 of file init.c. References _veldfire::freemsg, _veldfire::nomessage, and VF_READ_BUFSIZE. Referenced by main(). |
|
Usage message printed to standard out.
Definition at line 488 of file init.c. References __veldfire_cleanup(), _veldfire::prog, VF_DEFAULT_CONFIGFILE, VF_DEFAULT_HOST, VF_DEFAULT_LOGFILE, VF_DEFAULT_LOGLEVEL, VF_DEFAULT_MAXCONNECTION, VF_DEFAULT_PORT, and VF_DEFAULT_SECTION. Referenced by __veldfire_commandline(), and VF__check_config(). Here is the call graph for this function: ![]() |
|
Initialise a veldfire data structure.
Definition at line 117 of file init.c. References __veldfire_cleanup(), __veldfire_commandline(), __veldfire_configfile(), __veldfire_defaults(), __veldfire_env(), __veldfire_init(), _veldfire::log, _veldfire::logfile, _veldfire::loglevel, _veldfire::printlog, and VF__check_config(). Referenced by main(). Here is the call graph for this function: ![]() |
|
Print a version information string.
Definition at line 475 of file init.c. References __veldfire_cleanup(), and VF_VERSION. Here is the call graph for this function: ![]() |