1#ifndef VSF_PARSECONF_H 2#define VSF_PARSECONF_H 3 4/* vsf_parseconf_load_file() 5 * PURPOSE 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. 11 * PARAMETERS 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 14 * NOTES 15 * If p_filename is NULL, then the last filename passed to this function is 16 * used to reload the configuration details. 17 */ 18void vsf_parseconf_load_file(const char* p_filename, int errs_fatal); 19 20#endif /* VSF_PARSECONF_H */ 21 22