|
#define | hpd_adapter_foreach_attr(RC, PAIR, ID) |
|
#define | hpd_adapter_foreach_device(RC, DEVICE, ADAPTER) |
|
#define | hpd_adapter_foreach_service(RC, SERVICE, ADAPTER) |
|
#define | hpd_device_foreach_attr(RC, PAIR, ID) |
|
#define | hpd_device_foreach_service(RC, SERVICE, DEVICE) |
|
#define | hpd_foreach_adapter(RC, ADAPTER, HPD) |
| [Browsing functions] More...
|
|
#define | hpd_foreach_device(RC, DEVICE, HPD) |
|
#define | hpd_foreach_service(RC, SERVICE, HPD) |
|
#define | HPD_LOG_DEBUG(CONTEXT, FMT, ...) hpd_logf((CONTEXT), HPD_L_DEBUG, __FILE__, __LINE__, (FMT), ##__VA_ARGS__) |
|
#define | HPD_LOG_ERROR(CONTEXT, FMT, ...) hpd_logf((CONTEXT), HPD_L_ERROR, __FILE__, __LINE__, (FMT), ##__VA_ARGS__) |
|
#define | HPD_LOG_INFO(CONTEXT, FMT, ...) hpd_logf((CONTEXT), HPD_L_INFO , __FILE__, __LINE__, (FMT), ##__VA_ARGS__) |
|
#define | HPD_LOG_RETURN(CONTEXT, E, FMT, ...) do { HPD_LOG_DEBUG((CONTEXT), (FMT), ##__VA_ARGS__); return (E); } while(0) |
|
#define | HPD_LOG_RETURN_E_ALLOC(CONTEXT) HPD_LOG_RETURN((CONTEXT), HPD_E_ALLOC, "Unable to allocate memory.") |
|
#define | HPD_LOG_RETURN_E_NULL(CONTEXT) HPD_LOG_RETURN((CONTEXT), HPD_E_NULL, "Unexpected null pointer.") |
|
#define | HPD_LOG_RETURN_E_SNPRINTF(CONTEXT) HPD_LOG_RETURN((CONTEXT), HPD_E_UNKNOWN, "snprintf failed.") |
|
#define | HPD_LOG_VERBOSE(CONTEXT, FMT, ...) hpd_logf((CONTEXT), HPD_L_VERBOSE, __FILE__, __LINE__, (FMT), ##__VA_ARGS__) |
|
#define | HPD_LOG_WARN(CONTEXT, FMT, ...) hpd_logf((CONTEXT), HPD_L_WARN , __FILE__, __LINE__, (FMT), ##__VA_ARGS__) |
|
#define | hpd_parameter_foreach_attr(RC, PAIR, ID) |
|
#define | hpd_service_foreach_action(RC, ACTION, ID) |
| [hpd_parameter_t functions] More...
|
|
#define | hpd_service_foreach_attr(RC, PAIR, ID) |
|
#define | hpd_service_foreach_parameter(RC, PARAMETER, SERVICE) |
|
#define | hpd_value_foreach_header(RC, PAIR, VALUE) |
| [hpd_value_t functions] More...
|
|
|
hpd_error_t | hpd_action_get_method (const hpd_action_t *action, hpd_method_t *method) |
| [model foreach loops] More...
|
|
hpd_error_t | hpd_adapter_first_attr (const hpd_adapter_id_t *id, hpd_pair_t **pair) |
|
hpd_error_t | hpd_adapter_first_device (const hpd_adapter_id_t *adapter_id, hpd_device_id_t **device_id) |
|
hpd_error_t | hpd_adapter_first_service (const hpd_adapter_id_t *adapter_id, hpd_service_id_t **service_id) |
|
hpd_error_t | hpd_adapter_get_attr (const hpd_adapter_id_t *id, const char *key, const char **val) |
|
hpd_error_t | hpd_adapter_get_attrs (const hpd_adapter_id_t *id,...) |
|
hpd_error_t | hpd_adapter_get_hpd (const hpd_adapter_id_t *aid, hpd_t **hpd) |
| [hpd_pair_t functions] More...
|
|
hpd_error_t | hpd_adapter_get_id (const hpd_adapter_id_t *aid, const char **id) |
| [id_t functions] More...
|
|
hpd_error_t | hpd_adapter_id_alloc (hpd_adapter_id_t **id, hpd_t *hpd, const char *aid) |
| [log functions] More...
|
|
hpd_error_t | hpd_adapter_id_copy (hpd_adapter_id_t **dst, const hpd_adapter_id_t *src) |
|
hpd_error_t | hpd_adapter_id_free (hpd_adapter_id_t *id) |
|
hpd_error_t | hpd_adapter_next_attr (hpd_pair_t **pair) |
|
hpd_error_t | hpd_adapter_next_device (hpd_device_id_t **device_id) |
|
hpd_error_t | hpd_adapter_next_service (hpd_service_id_t **service_id) |
|
hpd_error_t | hpd_device_first_attr (const hpd_device_id_t *id, hpd_pair_t **pair) |
|
hpd_error_t | hpd_device_first_service (const hpd_device_id_t *device_id, hpd_service_id_t **service_id) |
|
hpd_error_t | hpd_device_get_adapter (const hpd_device_id_t *did, hpd_adapter_id_t **aid) |
|
hpd_error_t | hpd_device_get_attr (const hpd_device_id_t *id, const char *key, const char **val) |
|
hpd_error_t | hpd_device_get_attrs (const hpd_device_id_t *id,...) |
|
hpd_error_t | hpd_device_get_hpd (const hpd_device_id_t *did, hpd_t **hpd) |
|
hpd_error_t | hpd_device_get_id (const hpd_device_id_t *did, const char **id) |
| [hpd_adapter_t functions] More...
|
|
hpd_error_t | hpd_device_id_alloc (hpd_device_id_t **id, hpd_t *hpd, const char *aid, const char *did) |
|
hpd_error_t | hpd_device_id_copy (hpd_device_id_t **dst, const hpd_device_id_t *src) |
|
hpd_error_t | hpd_device_id_free (hpd_device_id_t *id) |
|
hpd_error_t | hpd_device_next_attr (hpd_pair_t **pair) |
|
hpd_error_t | hpd_device_next_service (hpd_service_id_t **service_id) |
|
hpd_error_t | hpd_first_adapter (hpd_t *hpd, hpd_adapter_id_t **adapter_id) |
|
hpd_error_t | hpd_first_device (hpd_t *hpd, hpd_device_id_t **device_id) |
|
hpd_error_t | hpd_first_service (hpd_t *hpd, hpd_service_id_t **service_id) |
|
hpd_error_t | hpd_get_loop (hpd_t *hpd, hpd_ev_loop_t **loop) |
|
hpd_error_t | hpd_logf (const hpd_module_t *context, hpd_log_level_t level, const char *file, int line, const char *fmt,...) |
| [hpd_t functions] More...
|
|
hpd_error_t | hpd_module_add_option (const hpd_module_t *context, const char *name, const char *arg, int flags, const char *doc) |
| [hpd_t functions] More...
|
|
hpd_error_t | hpd_module_get_id (const hpd_module_t *context, const char **id) |
|
hpd_error_t | hpd_next_adapter (hpd_adapter_id_t **adapter_id) |
|
hpd_error_t | hpd_next_device (hpd_device_id_t **device_id) |
|
hpd_error_t | hpd_next_service (hpd_service_id_t **service_id) |
|
hpd_error_t | hpd_pair_get (const hpd_pair_t *pair, const char **key, const char **value) |
| [hpd_action_t functions] More...
|
|
hpd_error_t | hpd_parameter_first_attr (const hpd_parameter_id_t *id, hpd_pair_t **pair) |
|
hpd_error_t | hpd_parameter_get_adapter (const hpd_parameter_id_t *pid, hpd_adapter_id_t **aid) |
|
hpd_error_t | hpd_parameter_get_attr (const hpd_parameter_id_t *id, const char *key, const char **val) |
|
hpd_error_t | hpd_parameter_get_attrs (const hpd_parameter_id_t *id,...) |
|
hpd_error_t | hpd_parameter_get_device (const hpd_parameter_id_t *pid, hpd_device_id_t **did) |
|
hpd_error_t | hpd_parameter_get_hpd (const hpd_parameter_id_t *pid, hpd_t **hpd) |
|
hpd_error_t | hpd_parameter_get_id (const hpd_parameter_id_t *pid, const char **id) |
| [hpd_service_t functions] More...
|
|
hpd_error_t | hpd_parameter_get_service (const hpd_parameter_id_t *pid, hpd_service_id_t **sid) |
|
hpd_error_t | hpd_parameter_id_alloc (hpd_parameter_id_t **id, hpd_t *hpd, const char *aid, const char *did, const char *sid, const char *pid) |
|
hpd_error_t | hpd_parameter_id_copy (hpd_parameter_id_t **dst, const hpd_parameter_id_t *src) |
|
hpd_error_t | hpd_parameter_id_free (hpd_parameter_id_t *id) |
|
hpd_error_t | hpd_parameter_next_attr (hpd_pair_t **pair) |
|
hpd_error_t | hpd_service_first_action (const hpd_service_id_t *id, hpd_action_t **action) |
|
hpd_error_t | hpd_service_first_attr (const hpd_service_id_t *id, hpd_pair_t **pair) |
|
hpd_error_t | hpd_service_first_parameter (const hpd_service_id_t *service_id, hpd_parameter_id_t **parameter_id) |
|
hpd_error_t | hpd_service_get_adapter (const hpd_service_id_t *sid, hpd_adapter_id_t **aid) |
|
hpd_error_t | hpd_service_get_attr (const hpd_service_id_t *id, const char *key, const char **val) |
|
hpd_error_t | hpd_service_get_attrs (const hpd_service_id_t *id,...) |
|
hpd_error_t | hpd_service_get_device (const hpd_service_id_t *sid, hpd_device_id_t **did) |
|
hpd_error_t | hpd_service_get_hpd (const hpd_service_id_t *sid, hpd_t **hpd) |
|
hpd_error_t | hpd_service_get_id (const hpd_service_id_t *sid, const char **id) |
| [hpd_device_t functions] More...
|
|
hpd_error_t | hpd_service_has_action (const hpd_service_id_t *id, const hpd_method_t method, hpd_bool_t *boolean) |
|
hpd_error_t | hpd_service_id_alloc (hpd_service_id_t **id, hpd_t *hpd, const char *aid, const char *did, const char *sid) |
|
hpd_error_t | hpd_service_id_copy (hpd_service_id_t **dst, const hpd_service_id_t *src) |
|
hpd_error_t | hpd_service_id_free (hpd_service_id_t *id) |
|
hpd_error_t | hpd_service_next_action (hpd_action_t **action) |
|
hpd_error_t | hpd_service_next_attr (hpd_pair_t **pair) |
|
hpd_error_t | hpd_service_next_parameter (hpd_parameter_id_t **parameter_id) |
|
hpd_error_t | hpd_value_alloc (hpd_value_t **value, const char *body, int len) |
| [Browsing foreach loops] More...
|
|
hpd_error_t | hpd_value_allocf (hpd_value_t **value, const char *fmt,...) |
|
hpd_error_t | hpd_value_copy (hpd_value_t **dst, const hpd_value_t *src) |
|
hpd_error_t | hpd_value_first_header (const hpd_value_t *value, hpd_pair_t **pair) |
|
hpd_error_t | hpd_value_free (hpd_value_t *value) |
|
hpd_error_t | hpd_value_get_body (const hpd_value_t *value, const char **body, size_t *len) |
|
hpd_error_t | hpd_value_get_header (const hpd_value_t *value, const char *key, const char **val) |
|
hpd_error_t | hpd_value_get_headers (const hpd_value_t *value,...) |
|
hpd_error_t | hpd_value_next_header (hpd_pair_t **pair) |
|
hpd_error_t | hpd_value_set_header (hpd_value_t *value, const char *key, const char *val) |
|
hpd_error_t | hpd_value_set_headers (hpd_value_t *value,...) |
|
hpd_error_t | hpd_value_vallocf (hpd_value_t **value, const char *fmt, va_list vp) |
|
hpd_error_t | hpd_vlogf (const hpd_module_t *context, hpd_log_level_t level, const char *file, int line, const char *fmt, va_list vp) |
|