wxmppd/src/configfiles.h
Gergely Polonkai (W00d5t0ck) 5c26ca28a6 Command line option parsing, configuration parsing
Made config file parsing a bit more fool proof
Config file can now contain a modules-dir element that holds the location of the DSO's
Prepared module loading function to be able to dry-run
Removed some unneeded header files
Added command line options parsing
2011-01-25 17:37:55 +01:00

17 lines
326 B
C

#ifndef __WXMPPD_CONFIGFILES_H
# define __WXMPPD_CONFIGFILES_H
enum {
WXMPPD_CONFIG_SUCCESS = 0,
WXMPPD_CONFIG_BADFILE,
};
typedef struct _wxmppd_config_t {
char *modules_dir;
} wxmppd_config_t;
int wxmppd_processConfigfile(const char *file, int startup, wxmppd_config_t **config);
#endif /* __WXMPPD_CONFIGFILES_H */