MCPcopy Index your code
hub / github.com/RsyncProject/rsync / lp_load

Function lp_load

loadparm.c:537–546  ·  view source on GitHub ↗

Load the modules from the config file. Return True on success, * False on failure. */

Source from the content-addressed store, hash-verified

535/* Load the modules from the config file. Return True on success,
536 * False on failure. */
537int lp_load(char *pszFname, int globals_only)
538{
539 bInGlobalSection = True;
540
541 reset_daemon_vars();
542
543 /* We get sections first, so have to start 'behind' to make up. */
544 iSectionIndex = -1;
545 return pm_process(pszFname, globals_only ? NULL : do_section, do_parameter);
546}
547
548BOOL set_dparams(int syntax_check_only)
549{

Callers 1

load_configFunction · 0.85

Calls 2

reset_daemon_varsFunction · 0.85
pm_processFunction · 0.85

Tested by

no test coverage detected