HomePort
Functions
event_api.c File Reference
Include dependency graph for event_api.c:

Go to the source code of this file.

Functions

hpd_error_t hpd_changed (const hpd_service_id_t *id, hpd_value_t *val)
 [hpd_response_t functions] More...
 
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_subscribe (hpd_listener_t *listener)
 

Function Documentation

hpd_error_t hpd_changed ( const hpd_service_id_t id,
hpd_value_t val 
)

[hpd_response_t functions]

[hpd_changed]

Definition at line 35 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_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:

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: