Lines Matching full:daemon
2 * daemon/daemon.h - collection of workers that handles requests.
39 * The daemon consists of global settings and a number of workers.
80 struct daemon {
140 /** time when daemon started */
175 * Initialize daemon structure.
176 * @return: The daemon structure, or NULL on error.
178 struct daemon* daemon_init(void);
182 * The cfg member pointer must have been set for the daemon.
183 * @param daemon: the daemon.
186 int daemon_open_shared_ports(struct daemon* daemon);
189 * Do daemon setup that needs privileges
191 * The cfg member pointer must have been set for the daemon.
192 * @param daemon: the daemon.
195 int daemon_privileged(struct daemon* daemon);
200 * @param daemon: the daemon.
202 void daemon_fork(struct daemon* daemon);
206 * Bring the daemon back into state ready for daemon_fork again.
207 * @param daemon: the daemon.
209 void daemon_cleanup(struct daemon* daemon);
213 * @param daemon: the daemon.
215 void daemon_delete(struct daemon* daemon);
219 * @param daemon: the daemon.
222 void daemon_apply_cfg(struct daemon* daemon, struct config_file* cfg);