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
17 lines
326 B
C
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 */
|
|
|