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

Go to the source code of this file.

Functions

hpd_error_t event_alloc_listener (hpd_listener_t **listener, hpd_t *hpd)
 
hpd_error_t event_changed (const hpd_service_id_t *id, hpd_value_t *val)
 
hpd_error_t event_foreach_attached (const hpd_listener_t *listener)
 
hpd_error_t event_free_listener (hpd_listener_t *listener)
 
hpd_error_t event_get_listener_data (const hpd_listener_t *listener, void **data)
 
hpd_error_t event_inform_adapter_attached (hpd_adapter_t *adapter)
 
hpd_error_t event_inform_adapter_detached (hpd_adapter_t *adapter)
 
hpd_error_t event_inform_device_attached (hpd_device_t *device)
 
hpd_error_t event_inform_device_detached (hpd_device_t *device)
 
hpd_error_t event_set_device_callback (hpd_listener_t *listener, hpd_device_f on_attach, hpd_device_f on_detach)
 
hpd_error_t event_set_listener_data (hpd_listener_t *listener, void *data, hpd_free_f on_free)
 
hpd_error_t event_set_value_callback (hpd_listener_t *listener, hpd_value_f on_change)
 
hpd_error_t event_subscribe (hpd_listener_t *listener)
 
hpd_error_t event_unsubscribe (hpd_listener_t *listener)
 

Function Documentation

hpd_error_t event_alloc_listener ( hpd_listener_t **  listener,
hpd_t hpd 
)

Definition at line 36 of file event.c.

Here is the caller graph for this function:

hpd_error_t event_changed ( const hpd_service_id_t id,
hpd_value_t val 
)

Definition at line 182 of file event.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t event_foreach_attached ( const hpd_listener_t listener)

Definition at line 96 of file event.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t event_free_listener ( hpd_listener_t listener)

Definition at line 46 of file event.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 90 of file event.c.

Here is the caller graph for this function:

hpd_error_t event_inform_adapter_attached ( hpd_adapter_t adapter)

Definition at line 211 of file event.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t event_inform_adapter_detached ( hpd_adapter_t adapter)

Definition at line 223 of file event.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t event_inform_device_attached ( hpd_device_t device)

Definition at line 235 of file event.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t event_inform_device_detached ( hpd_device_t device)

Definition at line 262 of file event.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 67 of file event.c.

Here is the caller graph for this function:

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

Definition at line 53 of file event.c.

Here is the caller graph for this function:

hpd_error_t event_set_value_callback ( hpd_listener_t listener,
hpd_value_f  on_change 
)

Definition at line 61 of file event.c.

Here is the caller graph for this function:

hpd_error_t event_subscribe ( hpd_listener_t listener)

Definition at line 74 of file event.c.

Here is the caller graph for this function:

hpd_error_t event_unsubscribe ( hpd_listener_t listener)

Definition at line 80 of file event.c.

Here is the call graph for this function:

Here is the caller graph for this function: