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

Function load_config

clientserver.c:1275–1284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1273}
1274
1275static int load_config(int globals_only)
1276{
1277 if (!config_file) {
1278 if (am_daemon < 0 && am_root <= 0)
1279 config_file = RSYNCD_USERCONF;
1280 else
1281 config_file = RSYNCD_SYSCONF;
1282 }
1283 return lp_load(config_file, globals_only);
1284}
1285
1286/* this is called when a connection is established to a client
1287 and we want to start talking. The setup of the system is done from

Callers 2

start_daemonFunction · 0.85
daemon_mainFunction · 0.85

Calls 1

lp_loadFunction · 0.85

Tested by

no test coverage detected