Lines Matching defs:daemon
2 * daemon/daemon.h - collection of workers that handles requests.
39 * The daemon consists of global settings and a number of workers.
78 struct daemon {
132 /** time when daemon started */
160 * Initialize daemon structure.
161 * @return: The daemon structure, or NULL on error.
163 struct daemon* daemon_init(void);
167 * The cfg member pointer must have been set for the daemon.
168 * @param daemon: the daemon.
171 int daemon_open_shared_ports(struct daemon* daemon);
174 * Do daemon setup that needs privileges
176 * The cfg member pointer must have been set for the daemon.
177 * @param daemon: the daemon.
180 int daemon_privileged(struct daemon* daemon);
185 * @param daemon: the daemon.
187 void daemon_fork(struct daemon* daemon);
191 * Bring the daemon back into state ready for daemon_fork again.
192 * @param daemon: the daemon.
194 void daemon_cleanup(struct daemon* daemon);
198 * @param daemon: the daemon.
200 void daemon_delete(struct daemon* daemon);
204 * @param daemon: the daemon.
207 void daemon_apply_cfg(struct daemon* daemon, struct config_file* cfg);