HomePort
|
Go to the source code of this file.
Data Structures | |
struct | hpd |
struct | hpd_ev_async |
union | hpd_ev_async.__unnamed__ |
struct | hpd_ev_async.__unnamed__.__unnamed__ |
union | hpd_ev_async.__unnamed__.__unnamed__.__unnamed__ |
struct | hpd_ev_async.__unnamed__.__unnamed__.__unnamed__.__unnamed__ |
struct | hpd_module |
Typedefs | |
typedef struct argp_option | hpd_argp_option_t |
typedef struct hpd_configuration | hpd_configuration_t |
typedef struct hpd_ev_async | hpd_ev_async_t |
typedef struct hpd_ev_asyncs | hpd_ev_asyncs_t |
typedef struct hpd_module | hpd_module_t |
typedef struct hpd_modules | hpd_modules_t |
Functions | |
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) |
hpd_error_t | daemon_start (hpd_t *hpd, int argc, char *argv[]) |
hpd_error_t | daemon_stop (const hpd_t *hpd) |
TAILQ_HEAD (hpd_modules, hpd_module) | |
TAILQ_HEAD (hpd_ev_asyncs, hpd_ev_async) | |
struct hpd |
Data Fields | ||
---|---|---|
char * | argv0 | |
hpd_ev_asyncs_t | attached_watchers | |
hpd_ev_asyncs_t | changed_watchers | |
hpd_configuration_t * | configuration | |
hpd_ev_asyncs_t | detached_watchers | |
hpd_ev_loop_t * | loop | |
int | module_options_count | |
hpd_modules_t | modules | |
const hpd_module_t ** | option2module | |
const char ** | option2name | |
hpd_argp_option_t * | options | |
int | options_count | |
hpd_ev_asyncs_t | request_watchers | |
hpd_ev_asyncs_t | respond_watchers | |
ev_signal | sigint_watcher | |
ev_signal | sigterm_watcher |
union hpd_ev_async.__unnamed__ |
Data Fields | ||
---|---|---|
__unnamed__ | __unnamed__ | |
hpd_request_t * | request | |
hpd_response_t * | response |
struct hpd_ev_async.__unnamed__.__unnamed__ |
Data Fields | ||
---|---|---|
__unnamed__ | __unnamed__ | |
hpd_t * | hpd |
union hpd_ev_async.__unnamed__.__unnamed__.__unnamed__ |
Data Fields | ||
---|---|---|
__unnamed__ | __unnamed__ | |
hpd_device_id_t * | device |
struct hpd_ev_async.__unnamed__.__unnamed__.__unnamed__.__unnamed__ |
Data Fields | ||
---|---|---|
hpd_service_id_t * | service | |
hpd_value_t * | value |
typedef struct argp_option hpd_argp_option_t |
typedef struct hpd_configuration hpd_configuration_t |
typedef struct hpd_ev_async hpd_ev_async_t |
typedef struct hpd_ev_asyncs hpd_ev_asyncs_t |
typedef struct hpd_module hpd_module_t |
typedef struct hpd_modules hpd_modules_t |
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 | ||
) |
hpd_error_t daemon_start | ( | hpd_t * | hpd, |
int | argc, | ||
char * | argv[] | ||
) |
hpd_error_t daemon_stop | ( | const hpd_t * | hpd | ) |
TAILQ_HEAD | ( | hpd_modules | , |
hpd_module | |||
) |
TAILQ_HEAD | ( | hpd_ev_asyncs | , |
hpd_ev_async | |||
) |