vsftpd 2.0.7 - initial checkin.
[tomato.git] / release / src / router / vsftpd / parseconf.h
blob9257ff7f46e6292b8e6d02c56b5783db3fc0ab45
1 #ifndef VSF_PARSECONF_H
2 #define VSF_PARSECONF_H
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.
18 void vsf_parseconf_load_file(const char* p_filename, int errs_fatal);
20 #endif /* VSF_PARSECONF_H */