1 #ifndef VSF_PARSECONF_H
2 #define VSF_PARSECONF_H
4 /* vsf_parseconf_load_file()
6 * Parse the given file as a vsftpd config file. If the file cannot be
7 * opened for whatever reason, a fatal error is raised. If the file contains
8 * any syntax errors, a fatal error is raised.
9 * If the call returns (no fatal error raised), then the config file was
10 * parsed and the global config settings will have been updated.
12 * p_filename - the name of the config file to parse
13 * errs_fatal - errors will cause the calling process to exit if not 0
15 * If p_filename is NULL, then the last filename passed to this function is
16 * used to reload the configuration details.
18 void vsf_parseconf_load_file(const char* p_filename
, int errs_fatal
);
20 #endif /* VSF_PARSECONF_H */