HomePort
Functions
hpd_adapter_api.h File Reference
Include dependency graph for hpd_adapter_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_adapter_alloc (hpd_adapter_t **adapter, const char *id)
 [hpd_adapter_t functions] More...
 
hpd_error_t hpd_adapter_attach (hpd_t *hpd, hpd_adapter_t *adapter)
 
hpd_error_t hpd_adapter_detach (const hpd_adapter_id_t *id, hpd_adapter_t **adapter)
 
hpd_error_t hpd_adapter_free (hpd_adapter_t *adapter)
 
hpd_error_t hpd_adapter_get_data (const hpd_adapter_id_t *id, void **data)
 
hpd_error_t hpd_adapter_set_attr (hpd_adapter_t *adapter, const char *key, const char *val)
 
hpd_error_t hpd_adapter_set_attrs (hpd_adapter_t *adapter,...)
 
hpd_error_t hpd_adapter_set_data (hpd_adapter_t *adapter, void *data, hpd_free_f on_free)
 
hpd_error_t hpd_changed (const hpd_service_id_t *id, hpd_value_t *val)
 [hpd_response_t functions] More...
 
hpd_error_t hpd_device_alloc (hpd_device_t **device, const char *id)
 [hpd_adapter_t functions] More...
 
hpd_error_t hpd_device_attach (const hpd_adapter_id_t *id, hpd_device_t *device)
 
hpd_error_t hpd_device_detach (const hpd_device_id_t *id, hpd_device_t **device)
 
hpd_error_t hpd_device_free (hpd_device_t *device)
 
hpd_error_t hpd_device_get_data (const hpd_device_id_t *id, void **data)
 
hpd_error_t hpd_device_set_attr (hpd_device_t *device, const char *key, const char *val)
 
hpd_error_t hpd_device_set_attrs (hpd_device_t *device,...)
 
hpd_error_t hpd_device_set_data (hpd_device_t *device, void *data, hpd_free_f on_free)
 
hpd_error_t hpd_parameter_alloc (hpd_parameter_t **parameter, const char *id)
 [hpd_service_t functions] More...
 
hpd_error_t hpd_parameter_attach (hpd_service_t *service, hpd_parameter_t *parameter)
 
hpd_error_t hpd_parameter_detach (const hpd_parameter_id_t *id, hpd_parameter_t **parameter)
 
hpd_error_t hpd_parameter_free (hpd_parameter_t *parameter)
 
hpd_error_t hpd_parameter_set_attr (hpd_parameter_t *parameter, const char *key, const char *val)
 
hpd_error_t hpd_parameter_set_attrs (hpd_parameter_t *parameter,...)
 
hpd_error_t hpd_request_get_method (const hpd_request_t *req, hpd_method_t *method)
 
hpd_error_t hpd_request_get_service (const hpd_request_t *req, const hpd_service_id_t **id)
 [hpd_parameter_t functions] More...
 
hpd_error_t hpd_request_get_value (const hpd_request_t *req, const hpd_value_t **value)
 
hpd_error_t hpd_respond (hpd_response_t *response)
 
hpd_error_t hpd_response_alloc (hpd_response_t **response, hpd_request_t *request, hpd_status_t status)
 [hpd_request_t functions] More...
 
hpd_error_t hpd_response_free (hpd_response_t *response)
 
hpd_error_t hpd_response_set_value (hpd_response_t *response, hpd_value_t *value)
 
hpd_error_t hpd_service_alloc (hpd_service_t **service, const char *id)
 [hpd_device_t functions] More...
 
hpd_error_t hpd_service_attach (hpd_device_t *device, hpd_service_t *service)
 
hpd_error_t hpd_service_detach (const hpd_service_id_t *id, hpd_service_t **service)
 
hpd_error_t hpd_service_free (hpd_service_t *service)
 
hpd_error_t hpd_service_get_data (const hpd_service_id_t *id, void **data)
 
hpd_error_t hpd_service_set_action (hpd_service_t *service, const hpd_method_t method, hpd_action_f action)
 
hpd_error_t hpd_service_set_actions (hpd_service_t *service,...)
 
hpd_error_t hpd_service_set_attr (hpd_service_t *service, const char *key, const char *val)
 
hpd_error_t hpd_service_set_attrs (hpd_service_t *service,...)
 
hpd_error_t hpd_service_set_data (hpd_service_t *service, void *data, hpd_free_f on_free)
 

Function Documentation

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

[hpd_adapter_t functions]

Definition at line 108 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_adapter_attach ( hpd_t hpd,
hpd_adapter_t adapter 
)

Definition at line 120 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_adapter_detach ( const hpd_adapter_id_t id,
hpd_adapter_t **  adapter 
)

Definition at line 129 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_adapter_free ( hpd_adapter_t adapter)

Definition at line 114 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_adapter_get_data ( const hpd_adapter_id_t id,
void **  data 
)

Definition at line 166 of file discovery_api.c.

Here is the call graph for this function:

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

Definition at line 147 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_adapter_set_attrs ( hpd_adapter_t adapter,
  ... 
)

Definition at line 154 of file discovery_api.c.

Here is the call graph for this function:

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

Definition at line 141 of file discovery_api.c.

Here is the call graph for this function:

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_device_alloc ( hpd_device_t **  device,
const char *  id 
)

[hpd_adapter_t functions]

[hpd_device_t functions]

[hpd_adapter_t functions]

Definition at line 236 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_device_attach ( const hpd_adapter_id_t id,
hpd_device_t device 
)

Definition at line 248 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_device_detach ( const hpd_device_id_t id,
hpd_device_t **  device 
)

Definition at line 259 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_device_free ( hpd_device_t device)

Definition at line 242 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_device_get_data ( const hpd_device_id_t id,
void **  data 
)

Definition at line 296 of file discovery_api.c.

Here is the call graph for this function:

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

Definition at line 277 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_device_set_attrs ( hpd_device_t device,
  ... 
)

Definition at line 284 of file discovery_api.c.

Here is the call graph for this function:

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

Definition at line 271 of file discovery_api.c.

Here is the call graph for this function:

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

[hpd_service_t functions]

[hpd_parameter_t functions]

Definition at line 532 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_parameter_attach ( hpd_service_t service,
hpd_parameter_t parameter 
)

Definition at line 544 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_parameter_detach ( const hpd_parameter_id_t id,
hpd_parameter_t **  parameter 
)

Definition at line 552 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_free ( hpd_parameter_t parameter)

Definition at line 538 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 564 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_set_attrs ( hpd_parameter_t parameter,
  ... 
)

Definition at line 571 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_request_get_method ( const hpd_request_t req,
hpd_method_t method 
)

Definition at line 75 of file request_api.c.

Here is the call graph for this function:

hpd_error_t hpd_request_get_service ( const hpd_request_t req,
const hpd_service_id_t **  id 
)

[hpd_parameter_t functions]

[hpd_request_t functions]

Definition at line 69 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_get_value ( const hpd_request_t req,
const hpd_value_t **  value 
)

Definition at line 81 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_respond ( hpd_response_t response)

Definition at line 150 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_alloc ( hpd_response_t **  response,
hpd_request_t request,
hpd_status_t  status 
)

[hpd_request_t functions]

[hpd_response_t functions]

Definition at line 87 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_free ( hpd_response_t response)

Definition at line 138 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_set_value ( hpd_response_t response,
hpd_value_t value 
)

Definition at line 144 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_service_alloc ( hpd_service_t **  service,
const char *  id 
)

[hpd_device_t functions]

[hpd_service_t functions]

Definition at line 361 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_service_attach ( hpd_device_t device,
hpd_service_t service 
)

Definition at line 373 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_service_detach ( const hpd_service_id_t id,
hpd_service_t **  service 
)

Definition at line 381 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_free ( hpd_service_t service)

Definition at line 367 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_service_get_data ( const hpd_service_id_t id,
void **  data 
)

Definition at line 438 of file discovery_api.c.

Here is the call graph for this function:

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

Definition at line 418 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_set_actions ( hpd_service_t service,
  ... 
)

Definition at line 426 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 399 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_set_attrs ( hpd_service_t service,
  ... 
)

Definition at line 406 of file discovery_api.c.

Here is the call graph for this function:

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

Definition at line 393 of file discovery_api.c.

Here is the call graph for this function:

Here is the caller graph for this function: