MCPcopy Create free account
hub / github.com/RsyncProject/rsync / parse_directives

Function parse_directives

params.c:479–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479static int parse_directives(char *name, char *val)
480{
481 if (strcasecmp(name, "&include") == 0)
482 return include_config(val, 1);
483 if (strcasecmp(name, "&merge") == 0)
484 return include_config(val, 0);
485 rprintf(FLOG, "Unknown directive: %s.\n", name);
486 return 0;
487}
488
489static int Parse( FILE *InFile,
490 BOOL (*sfunc)(char *),

Callers

nothing calls this directly

Calls 2

include_configFunction · 0.85
rprintfFunction · 0.70

Tested by

no test coverage detected