57 int args_get(
int argc,
char* argv[]);
char * pidfile
A C string containing the path to the PID file.
Definition: args.h:23
char * conffile
A C string containing the path to the config file.
Definition: args.h:29
uint8_t syslog
Flag: Was -s provided?
Definition: args.h:50
uint8_t color
Flag: Was -C provided?
Definition: args.h:52
uint8_t level
Logging level.
Definition: args.h:39
uint8_t help
Flag: Was -h provided?
Definition: args.h:14
The program arguments data structure.
Definition: args.h:13
uint8_t daemon
Flag: Was -d provided?
Definition: args.h:15
uint8_t quiet
Flag: Was -q provided?
Definition: args.h:51
int args_get(int argc, char *argv[])
Parse command-line arguments and set up the global program arguments data structure.
Definition: args.c:107
char * logfile
The path to the log file.
Definition: args.h:49
uint8_t test
Flag: Was -t provided?
Definition: args.h:30
char * args_canonpath(const char *path, uint8_t create)
Validate and canonicalize a path.
Definition: args.c:73
uint8_t oneshot
Flag: Was -o provided?
Definition: args.h:53