Code

daemon: Treat parser errors different from daemon/libsysdb errors.
[sysdb.git] / src / include / daemon / config.h
index 6d4b0d3bac074ffd1bc748216dcfbc3a56e0080e..e249bfe1971be86adece26bb0fe3af9787b0cfeb 100644 (file)
 #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);