HomePort
Functions
hpd_application_api.h File Reference
Include dependency graph for hpd_application_api.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

hpd_error_t hpd_foreach_attached (const hpd_listener_t *listener)
 
hpd_error_t hpd_listener_alloc (hpd_listener_t **listener, hpd_t *hpd)
 [hpd_response_t functions] More...
 
hpd_error_t hpd_listener_free (hpd_listener_t *listener)
 
hpd_error_t hpd_listener_get_data (const hpd_listener_t *listener, void **data)
 
hpd_error_t hpd_listener_set_data (hpd_listener_t *listener, void *data, hpd_free_f on_free)
 
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_listener_set_value_callback (hpd_listener_t *listener, hpd_value_f on_change)
 
hpd_error_t hpd_request (hpd_request_t *request)
 
hpd_error_t hpd_request_alloc (hpd_request_t **request, const hpd_service_id_t *id, hpd_method_t method, hpd_response_f on_response)
 [hpd_request_t functions] More...
 
hpd_error_t hpd_request_free (hpd_request_t *request)
 
hpd_error_t hpd_request_set_data (hpd_request_t *request, void *data, hpd_free_f on_free)
 
hpd_error_t hpd_request_set_value (hpd_request_t *request, hpd_value_t *value)
 
hpd_error_t hpd_response_get_request_data (const hpd_response_t *response, void **data)
 
hpd_error_t hpd_response_get_request_method (const hpd_response_t *response, hpd_method_t *method)
 
hpd_error_t hpd_response_get_request_service (const hpd_response_t *response, const hpd_service_id_t **service)
 
hpd_error_t hpd_response_get_request_value (const hpd_response_t *response, const hpd_value_t **value)
 
hpd_error_t hpd_response_get_status (const hpd_response_t *response, hpd_status_t *status)
 [hpd_request_t functions] More...
 
hpd_error_t hpd_response_get_value (const hpd_response_t *response, const hpd_value_t **value)
 
hpd_error_t hpd_subscribe (hpd_listener_t *listener)
 

Function Documentation

hpd_error_t hpd_foreach_attached ( const hpd_listener_t listener)

Definition at line 86 of file event_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_listener_alloc ( hpd_listener_t **  listener,
hpd_t hpd 
)

[hpd_response_t functions]

[hpd_listener_t functions]

Definition at line 42 of file event_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_listener_free ( hpd_listener_t listener)

Definition at line 74 of file event_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_listener_get_data ( const hpd_listener_t listener,
void **  data 
)

Definition at line 80 of file event_api.c.

Here is the call graph for this function:

hpd_error_t hpd_listener_set_data ( hpd_listener_t listener,
void *  data,
hpd_free_f  on_free 
)

Definition at line 48 of file event_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_listener_set_device_callback ( hpd_listener_t listener,
hpd_device_f  on_attach,
hpd_device_f  on_detach 
)

Definition at line 59 of file event_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_listener_set_value_callback ( hpd_listener_t listener,
hpd_value_f  on_change 
)

Definition at line 54 of file event_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 62 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_request_alloc ( hpd_request_t **  request,
const hpd_service_id_t id,
hpd_method_t  method,
hpd_response_f  on_response 
)

[hpd_request_t functions]

Definition at line 35 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_request_free ( hpd_request_t request)

Definition at line 44 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_request_set_data ( hpd_request_t request,
void *  data,
hpd_free_f  on_free 
)

Definition at line 56 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_request_set_value ( hpd_request_t request,
hpd_value_t value 
)

Definition at line 50 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_response_get_request_data ( const hpd_response_t response,
void **  data 
)

Definition at line 169 of file request_api.c.

Here is the call graph for this function:

hpd_error_t hpd_response_get_request_method ( const hpd_response_t response,
hpd_method_t method 
)

Definition at line 181 of file request_api.c.

Here is the call graph for this function:

hpd_error_t hpd_response_get_request_service ( const hpd_response_t response,
const hpd_service_id_t **  service 
)

Definition at line 175 of file request_api.c.

Here is the call graph for this function:

hpd_error_t hpd_response_get_request_value ( const hpd_response_t response,
const hpd_value_t **  value 
)

Definition at line 187 of file request_api.c.

Here is the call graph for this function:

hpd_error_t hpd_response_get_status ( const hpd_response_t response,
hpd_status_t status 
)

[hpd_request_t functions]

[hpd_response_t functions]

Definition at line 157 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_response_get_value ( const hpd_response_t response,
const hpd_value_t **  value 
)

Definition at line 163 of file request_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_subscribe ( hpd_listener_t listener)

Definition at line 65 of file event_api.c.

Here is the call graph for this function:

Here is the caller graph for this function: