X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Finclude%2Fdaemon%2Fconfig.h;fp=src%2Finclude%2Fdaemon%2Fconfig.h;h=e249bfe1971be86adece26bb0fe3af9787b0cfeb;hp=6d4b0d3bac074ffd1bc748216dcfbc3a56e0080e;hb=bcf382251253f9829bdd05eb852cb4682035544e;hpb=ed153c700909360c97f4d025fe0434e03efcbe55 diff --git a/src/include/daemon/config.h b/src/include/daemon/config.h index 6d4b0d3..e249bfe 100644 --- a/src/include/daemon/config.h +++ b/src/include/daemon/config.h @@ -28,6 +28,16 @@ #ifndef DAEMON_CONFIG_H #define DAEMON_CONFIG_H 1 +/* + * daemon_parse_config: + * Parse the specified configuration file. + * + * Returns: + * - 0 on success + * - a negative value when loading the configuration failed because of errors + * in the daemon or libsysdb + * - a positive value on parser errors + */ int daemon_parse_config(const char *filename);