Go to the source code of this file.
|
static hpd_error_t | daemon_add_global_option (hpd_t *hpd, const char *name, int key, const char *arg, int flags, const char *doc) |
|
hpd_error_t | daemon_add_module (hpd_t *hpd, const char *id, const hpd_module_def_t *module_def) |
|
hpd_error_t | daemon_add_option (const hpd_module_t *context, const char *name, const char *arg, int flags, const char *doc) |
|
hpd_error_t | daemon_alloc (hpd_t **hpd) |
|
hpd_error_t | daemon_free (hpd_t *hpd) |
|
hpd_error_t | daemon_get_id (const hpd_module_t *context, const char **id) |
|
hpd_error_t | daemon_get_loop (const hpd_t *hpd, hpd_ev_loop_t **loop) |
|
static hpd_error_t | daemon_loop_create (hpd_t *hpd) |
|
static void | daemon_loop_destroy (hpd_t *hpd) |
|
static void | daemon_loop_run (hpd_t *hpd) |
|
static hpd_error_t | daemon_modules_create (const hpd_t *hpd) |
|
static hpd_error_t | daemon_modules_destroy (const hpd_t *hpd) |
|
static hpd_error_t | daemon_modules_start (hpd_t *hpd) |
|
static hpd_error_t | daemon_modules_stop (hpd_t *hpd) |
|
static int | daemon_on_parse_opt (int key, char *arg, struct argp_state *state) |
|
static void | daemon_on_signal (hpd_ev_loop_t *loop, ev_signal *w, int revents) |
|
static hpd_error_t | daemon_options_create (hpd_t *hpd) |
|
static void | daemon_options_destroy (hpd_t *hpd) |
|
static hpd_error_t | daemon_options_parse (hpd_t *hpd, int argc, char **argv) |
|
static hpd_error_t | daemon_runtime_create (hpd_t *hpd) |
|
static hpd_error_t | daemon_runtime_destroy (hpd_t *hpd) |
|
hpd_error_t | daemon_start (hpd_t *hpd, int argc, char *argv[]) |
|
hpd_error_t | daemon_stop (const hpd_t *hpd) |
|
static hpd_error_t | daemon_watchers_stop (hpd_t *hpd) |
|
static hpd_error_t daemon_add_global_option |
( |
hpd_t * |
hpd, |
|
|
const char * |
name, |
|
|
int |
key, |
|
|
const char * |
arg, |
|
|
int |
flags, |
|
|
const char * |
doc |
|
) |
| |
|
static |
hpd_error_t daemon_add_option |
( |
const hpd_module_t * |
context, |
|
|
const char * |
name, |
|
|
const char * |
arg, |
|
|
int |
flags, |
|
|
const char * |
doc |
|
) |
| |
static void daemon_loop_destroy |
( |
hpd_t * |
hpd | ) |
|
|
static |
static void daemon_loop_run |
( |
hpd_t * |
hpd | ) |
|
|
static |
static int daemon_on_parse_opt |
( |
int |
key, |
|
|
char * |
arg, |
|
|
struct argp_state * |
state |
|
) |
| |
|
static |
static void daemon_on_signal |
( |
hpd_ev_loop_t * |
loop, |
|
|
ev_signal * |
w, |
|
|
int |
revents |
|
) |
| |
|
static |
static void daemon_options_destroy |
( |
hpd_t * |
hpd | ) |
|
|
static |