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

Go to the source code of this file.

Functions

hpd_error_t discovery_alloc_adapter (hpd_adapter_t **adapter, const char *id)
 
hpd_error_t discovery_alloc_device (hpd_device_t **device, const char *id)
 
hpd_error_t discovery_alloc_parameter (hpd_parameter_t **parameter, const char *id)
 
hpd_error_t discovery_alloc_service (hpd_service_t **service, const char *id)
 
hpd_error_t discovery_attach_adapter (hpd_t *hpd, hpd_adapter_t *adapter)
 
hpd_error_t discovery_attach_device (hpd_adapter_t *adapter, hpd_device_t *device)
 
hpd_error_t discovery_attach_parameter (hpd_service_t *service, hpd_parameter_t *parameter)
 
hpd_error_t discovery_attach_service (hpd_device_t *device, hpd_service_t *service)
 
hpd_error_t discovery_detach_adapter (hpd_adapter_t *adapter)
 
hpd_error_t discovery_detach_device (hpd_device_t *device)
 
hpd_error_t discovery_detach_parameter (hpd_parameter_t *parameter)
 
hpd_error_t discovery_detach_service (hpd_service_t *service)
 
hpd_error_t discovery_first_action_in_service (hpd_service_t *service, hpd_action_t **action)
 
hpd_error_t discovery_first_adapter_attr (hpd_adapter_t *adapter, hpd_pair_t **pair)
 
hpd_error_t discovery_first_adapter_device (hpd_adapter_t *adapter, hpd_device_t **device)
 
hpd_error_t discovery_first_adapter_service (hpd_adapter_t *adapter, hpd_service_t **service)
 
hpd_error_t discovery_first_device_attr (hpd_device_t *device, hpd_pair_t **pair)
 
hpd_error_t discovery_first_device_service (const hpd_device_t *device, hpd_service_t **service)
 
hpd_error_t discovery_first_hpd_adapter (hpd_t *hpd, hpd_adapter_t **adapter)
 
hpd_error_t discovery_first_hpd_device (hpd_t *hpd, hpd_device_t **device)
 
hpd_error_t discovery_first_hpd_service (hpd_t *hpd, hpd_service_t **service)
 
hpd_error_t discovery_first_parameter_attr (hpd_parameter_t *parameter, hpd_pair_t **pair)
 
hpd_error_t discovery_first_service_attr (hpd_service_t *service, hpd_pair_t **pair)
 
hpd_error_t discovery_first_service_parameter (hpd_service_t *service, hpd_parameter_t **parameter)
 
hpd_error_t discovery_free_adapter (hpd_adapter_t *adapter)
 
hpd_error_t discovery_free_device (hpd_device_t *device)
 
hpd_error_t discovery_free_parameter (hpd_parameter_t *parameter)
 
hpd_error_t discovery_free_service (hpd_service_t *service)
 
hpd_error_t discovery_get_action_method (const hpd_action_t *action, hpd_method_t *method)
 
hpd_error_t discovery_get_adapter_attr (hpd_adapter_t *adapter, const char *key, const char **val)
 
hpd_error_t discovery_get_adapter_attrs_v (hpd_adapter_t *adapter, va_list vp)
 
hpd_error_t discovery_get_adapter_data (hpd_adapter_t *adapter, void **data)
 
hpd_error_t discovery_get_adapter_id (hpd_adapter_t *adapter, const char **id)
 
hpd_error_t discovery_get_device_attr (hpd_device_t *device, const char *key, const char **val)
 
hpd_error_t discovery_get_device_attrs_v (hpd_device_t *device, va_list vp)
 
hpd_error_t discovery_get_device_data (hpd_device_t *device, void **data)
 
hpd_error_t discovery_get_device_id (hpd_device_t *device, const char **id)
 
hpd_error_t discovery_get_parameter_attr (hpd_parameter_t *parameter, const char *key, const char **val)
 
hpd_error_t discovery_get_parameter_attrs_v (hpd_parameter_t *parameter, va_list vp)
 
hpd_error_t discovery_get_parameter_id (hpd_parameter_t *parameter, const char **id)
 
hpd_error_t discovery_get_service_attr (hpd_service_t *service, const char *key, const char **val)
 
hpd_error_t discovery_get_service_attrs_v (hpd_service_t *service, va_list vp)
 
hpd_error_t discovery_get_service_data (hpd_service_t *service, void **data)
 
hpd_error_t discovery_get_service_id (hpd_service_t *service, const char **id)
 
hpd_bool_t discovery_has_service_action (hpd_service_t *service, const hpd_method_t method)
 
hpd_bool_t discovery_is_adapter_id_unique (hpd_t *hpd, hpd_adapter_t *adapter)
 
hpd_bool_t discovery_is_device_id_unique (hpd_adapter_t *adapter, hpd_device_t *device)
 
hpd_bool_t discovery_is_parameter_id_unique (hpd_service_t *service, hpd_parameter_t *parameter)
 
hpd_bool_t discovery_is_service_id_unique (hpd_device_t *device, hpd_service_t *service)
 
hpd_error_t discovery_next_action_in_service (hpd_action_t **action)
 
hpd_error_t discovery_next_adapter_attr (hpd_pair_t **pair)
 
hpd_error_t discovery_next_adapter_device (hpd_device_t **device)
 
hpd_error_t discovery_next_adapter_service (hpd_service_t **service)
 
hpd_error_t discovery_next_device_attr (hpd_pair_t **pair)
 
hpd_error_t discovery_next_device_service (hpd_service_t **service)
 
hpd_error_t discovery_next_hpd_adapter (hpd_adapter_t **adapter)
 
hpd_error_t discovery_next_hpd_device (hpd_device_t **device)
 
hpd_error_t discovery_next_hpd_service (hpd_service_t **service)
 
hpd_error_t discovery_next_parameter_attr (hpd_pair_t **pair)
 
hpd_error_t discovery_next_service_attr (hpd_pair_t **pair)
 
hpd_error_t discovery_next_service_parameter (hpd_parameter_t **parameter)
 
hpd_error_t discovery_set_adapter_attr (hpd_adapter_t *adapter, const char *key, const char *val)
 
hpd_error_t discovery_set_adapter_attrs_v (hpd_adapter_t *adapter, va_list vp)
 
hpd_error_t discovery_set_adapter_data (hpd_adapter_t *adapter, void *data, hpd_free_f on_free)
 
hpd_error_t discovery_set_device_attr (hpd_device_t *device, const char *key, const char *val)
 
hpd_error_t discovery_set_device_attrs_v (hpd_device_t *device, va_list vp)
 
hpd_error_t discovery_set_device_data (hpd_device_t *device, void *data, hpd_free_f on_free)
 
hpd_error_t discovery_set_parameter_attr (hpd_parameter_t *parameter, const char *key, const char *val)
 
hpd_error_t discovery_set_parameter_attrs_v (hpd_parameter_t *parameter, va_list vp)
 
hpd_error_t discovery_set_service_action (hpd_service_t *service, const hpd_method_t method, hpd_action_f action)
 
hpd_error_t discovery_set_service_actions_v (hpd_service_t *service, va_list vp)
 
hpd_error_t discovery_set_service_attr (hpd_service_t *service, const char *key, const char *val)
 
hpd_error_t discovery_set_service_attrs_v (hpd_service_t *service, va_list vp)
 
hpd_error_t discovery_set_service_data (hpd_service_t *service, void *data, hpd_free_f on_free)
 

Function Documentation

hpd_error_t discovery_alloc_adapter ( hpd_adapter_t **  adapter,
const char *  id 
)

Definition at line 34 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_alloc_device ( hpd_device_t **  device,
const char *  id 
)

Definition at line 55 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_alloc_parameter ( hpd_parameter_t **  parameter,
const char *  id 
)

Definition at line 101 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_alloc_service ( hpd_service_t **  service,
const char *  id 
)

Definition at line 76 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_attach_adapter ( hpd_t hpd,
hpd_adapter_t adapter 
)

Definition at line 181 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_attach_device ( hpd_adapter_t adapter,
hpd_device_t device 
)

Definition at line 208 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_attach_parameter ( hpd_service_t service,
hpd_parameter_t parameter 
)

Definition at line 259 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_attach_service ( hpd_device_t device,
hpd_service_t service 
)

Definition at line 235 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_detach_adapter ( hpd_adapter_t adapter)

Definition at line 274 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_detach_device ( hpd_device_t device)

Definition at line 288 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_detach_parameter ( hpd_parameter_t parameter)

Definition at line 310 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_detach_service ( hpd_service_t service)

Definition at line 302 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_first_action_in_service ( hpd_service_t service,
hpd_action_t **  action 
)

Definition at line 559 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_first_adapter_attr ( hpd_adapter_t adapter,
hpd_pair_t **  pair 
)

Definition at line 565 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_first_adapter_device ( hpd_adapter_t adapter,
hpd_device_t **  device 
)

Definition at line 618 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_first_adapter_service ( hpd_adapter_t adapter,
hpd_service_t **  service 
)

Definition at line 624 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_first_device_attr ( hpd_device_t device,
hpd_pair_t **  pair 
)

Definition at line 570 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_first_device_service ( const hpd_device_t device,
hpd_service_t **  service 
)

Definition at line 636 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_first_hpd_adapter ( hpd_t hpd,
hpd_adapter_t **  adapter 
)

Definition at line 585 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_first_hpd_device ( hpd_t hpd,
hpd_device_t **  device 
)

Definition at line 591 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_first_hpd_service ( hpd_t hpd,
hpd_service_t **  service 
)

Definition at line 603 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_first_parameter_attr ( hpd_parameter_t parameter,
hpd_pair_t **  pair 
)

Definition at line 580 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_first_service_attr ( hpd_service_t service,
hpd_pair_t **  pair 
)

Definition at line 575 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_first_service_parameter ( hpd_service_t service,
hpd_parameter_t **  parameter 
)

Definition at line 642 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_free_adapter ( hpd_adapter_t adapter)

Definition at line 120 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_free_device ( hpd_device_t device)

Definition at line 137 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_free_parameter ( hpd_parameter_t parameter)

Definition at line 172 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_free_service ( hpd_service_t service)

Definition at line 154 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_get_action_method ( const hpd_action_t action,
hpd_method_t method 
)

Definition at line 432 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_get_adapter_attr ( hpd_adapter_t adapter,
const char *  key,
const char **  val 
)

Definition at line 360 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_get_adapter_attrs_v ( hpd_adapter_t adapter,
va_list  vp 
)

Definition at line 380 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_get_adapter_data ( hpd_adapter_t adapter,
void **  data 
)

Definition at line 318 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_get_adapter_id ( hpd_adapter_t adapter,
const char **  id 
)

Definition at line 336 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_get_device_attr ( hpd_device_t device,
const char *  key,
const char **  val 
)

Definition at line 365 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_get_device_attrs_v ( hpd_device_t device,
va_list  vp 
)

Definition at line 393 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_get_device_data ( hpd_device_t device,
void **  data 
)

Definition at line 324 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_get_device_id ( hpd_device_t device,
const char **  id 
)

Definition at line 342 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_get_parameter_attr ( hpd_parameter_t parameter,
const char *  key,
const char **  val 
)

Definition at line 375 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_get_parameter_attrs_v ( hpd_parameter_t parameter,
va_list  vp 
)

Definition at line 419 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_get_parameter_id ( hpd_parameter_t parameter,
const char **  id 
)

Definition at line 354 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_get_service_attr ( hpd_service_t service,
const char *  key,
const char **  val 
)

Definition at line 370 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_get_service_attrs_v ( hpd_service_t service,
va_list  vp 
)

Definition at line 406 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_get_service_data ( hpd_service_t service,
void **  data 
)

Definition at line 330 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_get_service_id ( hpd_service_t service,
const char **  id 
)

Definition at line 348 of file discovery.c.

Here is the caller graph for this function:

hpd_bool_t discovery_has_service_action ( hpd_service_t service,
const hpd_method_t  method 
)

Definition at line 768 of file discovery.c.

Here is the caller graph for this function:

hpd_bool_t discovery_is_adapter_id_unique ( hpd_t hpd,
hpd_adapter_t adapter 
)

Definition at line 773 of file discovery.c.

Here is the caller graph for this function:

hpd_bool_t discovery_is_device_id_unique ( hpd_adapter_t adapter,
hpd_device_t device 
)

Definition at line 781 of file discovery.c.

Here is the caller graph for this function:

hpd_bool_t discovery_is_parameter_id_unique ( hpd_service_t service,
hpd_parameter_t parameter 
)

Definition at line 797 of file discovery.c.

Here is the caller graph for this function:

hpd_bool_t discovery_is_service_id_unique ( hpd_device_t device,
hpd_service_t service 
)

Definition at line 789 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_next_action_in_service ( hpd_action_t **  action)

Definition at line 648 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_next_adapter_attr ( hpd_pair_t **  pair)

Definition at line 662 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_next_adapter_device ( hpd_device_t **  device)

Definition at line 733 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_next_adapter_service ( hpd_service_t **  service)

Definition at line 739 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_next_device_attr ( hpd_pair_t **  pair)

Definition at line 667 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_next_device_service ( hpd_service_t **  service)

Definition at line 755 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_next_hpd_adapter ( hpd_adapter_t **  adapter)

Definition at line 682 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_next_hpd_device ( hpd_device_t **  device)

Definition at line 688 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_next_hpd_service ( hpd_service_t **  service)

Definition at line 704 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_next_parameter_attr ( hpd_pair_t **  pair)

Definition at line 677 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_next_service_attr ( hpd_pair_t **  pair)

Definition at line 672 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_next_service_parameter ( hpd_parameter_t **  parameter)

Definition at line 761 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_set_adapter_attr ( hpd_adapter_t adapter,
const char *  key,
const char *  val 
)

Definition at line 462 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_set_adapter_attrs_v ( hpd_adapter_t adapter,
va_list  vp 
)

Definition at line 491 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_set_adapter_data ( hpd_adapter_t adapter,
void *  data,
hpd_free_f  on_free 
)

Definition at line 438 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_set_device_attr ( hpd_device_t device,
const char *  key,
const char *  val 
)

Definition at line 467 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_set_device_attrs_v ( hpd_device_t device,
va_list  vp 
)

Definition at line 504 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_set_device_data ( hpd_device_t device,
void *  data,
hpd_free_f  on_free 
)

Definition at line 446 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_set_parameter_attr ( hpd_parameter_t parameter,
const char *  key,
const char *  val 
)

Definition at line 477 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_set_parameter_attrs_v ( hpd_parameter_t parameter,
va_list  vp 
)

Definition at line 530 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_set_service_action ( hpd_service_t service,
const hpd_method_t  method,
hpd_action_f  action 
)

Definition at line 482 of file discovery.c.

Here is the caller graph for this function:

hpd_error_t discovery_set_service_actions_v ( hpd_service_t service,
va_list  vp 
)

Definition at line 543 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_set_service_attr ( hpd_service_t service,
const char *  key,
const char *  val 
)

Definition at line 472 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_set_service_attrs_v ( hpd_service_t service,
va_list  vp 
)

Definition at line 517 of file discovery.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t discovery_set_service_data ( hpd_service_t service,
void *  data,
hpd_free_f  on_free 
)

Definition at line 454 of file discovery.c.

Here is the caller graph for this function: