00001 #ifndef VSF_PARSECONF_H 00002 #define VSF_PARSECONF_H 00003 00004 /* vsf_parseconf_load_file() 00005 * PURPOSE 00006 * Parse the given file as a vsftpd config file. If the file cannot be 00007 * opened for whatever reason, a fatal error is raised. If the file contains 00008 * any syntax errors, a fatal error is raised. 00009 * If the call returns (no fatal error raised), then the config file was 00010 * parsed and the global config settings will have been updated. 00011 * PARAMETERS 00012 * p_filename - the name of the config file to parse 00013 * errs_fatal - errors will cause the calling process to exit if not 0 00014 * NOTES 00015 * If p_filename is NULL, then the last filename passed to this function is 00016 * used to reload the configuration details. 00017 */ 00018 void vsf_parseconf_load_file(const char* p_filename, int errs_fatal); 00019 00020 #endif /* VSF_PARSECONF_H */ 00021