struct hpd_module_def hpd_demo_app_def
 
hpd_error_t hpd_service_get_adapter(const hpd_service_id_t *sid, hpd_adapter_id_t **aid)
 
hpd_error_t hpd_listener_alloc(hpd_listener_t **listener, hpd_t *hpd)
[hpd_response_t functions] 
 
static hpd_error_t demo_app_on_destroy(void *data)
 
static void demo_app_on_device(demo_app_t *demo_app, const hpd_device_id_t *device, const char *msg)
 
static hpd_error_t demo_app_on_create(void **data, const hpd_module_t *context)
 
hpd_error_t hpd_value_get_body(const hpd_value_t *value, const char **body, size_t *len)
 
hpd_error_t hpd_listener_set_value_callback(hpd_listener_t *listener, hpd_value_f on_change)
 
void demo_app_on_change(void *data, const hpd_service_id_t *service, const hpd_value_t *val)
 
#define HPD_LOG_INFO(CONTEXT, FMT,...)
 
#define HPD_CALLOC(PTR, NUM, CAST)
Allocates and zeros a structure. 
 
hpd_error_t hpd_adapter_get_id(const hpd_adapter_id_t *aid, const char **id)
[id_t functions] 
 
hpd_error_t hpd_listener_set_device_callback(hpd_listener_t *listener, hpd_device_f on_attach, hpd_device_f on_detach)
 
hpd_error_t hpd_device_get_id(const hpd_device_id_t *did, const char **id)
[hpd_adapter_t functions] 
 
hpd_error_t hpd_listener_set_data(hpd_listener_t *listener, void *data, hpd_free_f on_free)
 
const hpd_module_t * context
 
hpd_error_t hpd_service_get_id(const hpd_service_id_t *sid, const char **id)
[hpd_device_t functions] 
 
enum hpd_error hpd_error_t
 
#define HPD_LOG_RETURN_E_ALLOC(CONTEXT)
 
[Application API Callbacks] 
 
hpd_error_t hpd_device_id_free(hpd_device_id_t *id)
 
void demo_app_on_attach(void *data, const hpd_device_id_t *device)
 
hpd_error_t hpd_foreach_attached(const hpd_listener_t *listener)
 
static hpd_error_t demo_app_on_stop(void *data, hpd_t *hpd)
 
static hpd_error_t demo_app_on_parse_opt(void *data, const char *name, const char *arg)
 
hpd_error_t hpd_service_get_device(const hpd_service_id_t *sid, hpd_device_id_t **did)
 
hpd_listener_t * listener
 
hpd_error_t hpd_adapter_id_free(hpd_adapter_id_t *id)
 
static hpd_error_t demo_app_on_start(void *data, hpd_t *hpd)
 
void demo_app_on_detach(void *data, const hpd_device_id_t *device)
 
#define HPD_LOG_ERROR(CONTEXT, FMT,...)
 
hpd_error_t hpd_device_get_adapter(const hpd_device_id_t *did, hpd_adapter_id_t **aid)
 
hpd_error_t hpd_listener_free(hpd_listener_t *listener)
 
hpd_error_t hpd_subscribe(hpd_listener_t *listener)