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

Go to the source code of this file.

Macros

#define hpd_adapter_foreach_attr(RC, PAIR, ID)
 
#define hpd_adapter_foreach_device(RC, DEVICE, ADAPTER)
 
#define hpd_adapter_foreach_service(RC, SERVICE, ADAPTER)
 
#define hpd_device_foreach_attr(RC, PAIR, ID)
 
#define hpd_device_foreach_service(RC, SERVICE, DEVICE)
 
#define hpd_foreach_adapter(RC, ADAPTER, HPD)
 [Browsing functions] More...
 
#define hpd_foreach_device(RC, DEVICE, HPD)
 
#define hpd_foreach_service(RC, SERVICE, HPD)
 
#define HPD_LOG_DEBUG(CONTEXT, FMT, ...)   hpd_logf((CONTEXT), HPD_L_DEBUG, __FILE__, __LINE__, (FMT), ##__VA_ARGS__)
 
#define HPD_LOG_ERROR(CONTEXT, FMT, ...)   hpd_logf((CONTEXT), HPD_L_ERROR, __FILE__, __LINE__, (FMT), ##__VA_ARGS__)
 
#define HPD_LOG_INFO(CONTEXT, FMT, ...)   hpd_logf((CONTEXT), HPD_L_INFO , __FILE__, __LINE__, (FMT), ##__VA_ARGS__)
 
#define HPD_LOG_RETURN(CONTEXT, E, FMT, ...)   do { HPD_LOG_DEBUG((CONTEXT), (FMT), ##__VA_ARGS__); return (E); } while(0)
 
#define HPD_LOG_RETURN_E_ALLOC(CONTEXT)   HPD_LOG_RETURN((CONTEXT), HPD_E_ALLOC, "Unable to allocate memory.")
 
#define HPD_LOG_RETURN_E_NULL(CONTEXT)   HPD_LOG_RETURN((CONTEXT), HPD_E_NULL, "Unexpected null pointer.")
 
#define HPD_LOG_RETURN_E_SNPRINTF(CONTEXT)   HPD_LOG_RETURN((CONTEXT), HPD_E_UNKNOWN, "snprintf failed.")
 
#define HPD_LOG_VERBOSE(CONTEXT, FMT, ...)   hpd_logf((CONTEXT), HPD_L_VERBOSE, __FILE__, __LINE__, (FMT), ##__VA_ARGS__)
 
#define HPD_LOG_WARN(CONTEXT, FMT, ...)   hpd_logf((CONTEXT), HPD_L_WARN , __FILE__, __LINE__, (FMT), ##__VA_ARGS__)
 
#define hpd_parameter_foreach_attr(RC, PAIR, ID)
 
#define hpd_service_foreach_action(RC, ACTION, ID)
 [hpd_parameter_t functions] More...
 
#define hpd_service_foreach_attr(RC, PAIR, ID)
 
#define hpd_service_foreach_parameter(RC, PARAMETER, SERVICE)
 
#define hpd_value_foreach_header(RC, PAIR, VALUE)
 [hpd_value_t functions] More...
 

Functions

hpd_error_t hpd_action_get_method (const hpd_action_t *action, hpd_method_t *method)
 [model foreach loops] More...
 
hpd_error_t hpd_adapter_first_attr (const hpd_adapter_id_t *id, hpd_pair_t **pair)
 
hpd_error_t hpd_adapter_first_device (const hpd_adapter_id_t *adapter_id, hpd_device_id_t **device_id)
 
hpd_error_t hpd_adapter_first_service (const hpd_adapter_id_t *adapter_id, hpd_service_id_t **service_id)
 
hpd_error_t hpd_adapter_get_attr (const hpd_adapter_id_t *id, const char *key, const char **val)
 
hpd_error_t hpd_adapter_get_attrs (const hpd_adapter_id_t *id,...)
 
hpd_error_t hpd_adapter_get_hpd (const hpd_adapter_id_t *aid, hpd_t **hpd)
 [hpd_pair_t functions] More...
 
hpd_error_t hpd_adapter_get_id (const hpd_adapter_id_t *aid, const char **id)
 [id_t functions] More...
 
hpd_error_t hpd_adapter_id_alloc (hpd_adapter_id_t **id, hpd_t *hpd, const char *aid)
 [log functions] More...
 
hpd_error_t hpd_adapter_id_copy (hpd_adapter_id_t **dst, const hpd_adapter_id_t *src)
 
hpd_error_t hpd_adapter_id_free (hpd_adapter_id_t *id)
 
hpd_error_t hpd_adapter_next_attr (hpd_pair_t **pair)
 
hpd_error_t hpd_adapter_next_device (hpd_device_id_t **device_id)
 
hpd_error_t hpd_adapter_next_service (hpd_service_id_t **service_id)
 
hpd_error_t hpd_device_first_attr (const hpd_device_id_t *id, hpd_pair_t **pair)
 
hpd_error_t hpd_device_first_service (const hpd_device_id_t *device_id, hpd_service_id_t **service_id)
 
hpd_error_t hpd_device_get_adapter (const hpd_device_id_t *did, hpd_adapter_id_t **aid)
 
hpd_error_t hpd_device_get_attr (const hpd_device_id_t *id, const char *key, const char **val)
 
hpd_error_t hpd_device_get_attrs (const hpd_device_id_t *id,...)
 
hpd_error_t hpd_device_get_hpd (const hpd_device_id_t *did, hpd_t **hpd)
 
hpd_error_t hpd_device_get_id (const hpd_device_id_t *did, const char **id)
 [hpd_adapter_t functions] More...
 
hpd_error_t hpd_device_id_alloc (hpd_device_id_t **id, hpd_t *hpd, const char *aid, const char *did)
 
hpd_error_t hpd_device_id_copy (hpd_device_id_t **dst, const hpd_device_id_t *src)
 
hpd_error_t hpd_device_id_free (hpd_device_id_t *id)
 
hpd_error_t hpd_device_next_attr (hpd_pair_t **pair)
 
hpd_error_t hpd_device_next_service (hpd_service_id_t **service_id)
 
hpd_error_t hpd_first_adapter (hpd_t *hpd, hpd_adapter_id_t **adapter_id)
 
hpd_error_t hpd_first_device (hpd_t *hpd, hpd_device_id_t **device_id)
 
hpd_error_t hpd_first_service (hpd_t *hpd, hpd_service_id_t **service_id)
 
hpd_error_t hpd_get_loop (hpd_t *hpd, hpd_ev_loop_t **loop)
 
hpd_error_t hpd_logf (const hpd_module_t *context, hpd_log_level_t level, const char *file, int line, const char *fmt,...)
 [hpd_t functions] More...
 
hpd_error_t hpd_module_add_option (const hpd_module_t *context, const char *name, const char *arg, int flags, const char *doc)
 [hpd_t functions] More...
 
hpd_error_t hpd_module_get_id (const hpd_module_t *context, const char **id)
 
hpd_error_t hpd_next_adapter (hpd_adapter_id_t **adapter_id)
 
hpd_error_t hpd_next_device (hpd_device_id_t **device_id)
 
hpd_error_t hpd_next_service (hpd_service_id_t **service_id)
 
hpd_error_t hpd_pair_get (const hpd_pair_t *pair, const char **key, const char **value)
 [hpd_action_t functions] More...
 
hpd_error_t hpd_parameter_first_attr (const hpd_parameter_id_t *id, hpd_pair_t **pair)
 
hpd_error_t hpd_parameter_get_adapter (const hpd_parameter_id_t *pid, hpd_adapter_id_t **aid)
 
hpd_error_t hpd_parameter_get_attr (const hpd_parameter_id_t *id, const char *key, const char **val)
 
hpd_error_t hpd_parameter_get_attrs (const hpd_parameter_id_t *id,...)
 
hpd_error_t hpd_parameter_get_device (const hpd_parameter_id_t *pid, hpd_device_id_t **did)
 
hpd_error_t hpd_parameter_get_hpd (const hpd_parameter_id_t *pid, hpd_t **hpd)
 
hpd_error_t hpd_parameter_get_id (const hpd_parameter_id_t *pid, const char **id)
 [hpd_service_t functions] More...
 
hpd_error_t hpd_parameter_get_service (const hpd_parameter_id_t *pid, hpd_service_id_t **sid)
 
hpd_error_t hpd_parameter_id_alloc (hpd_parameter_id_t **id, hpd_t *hpd, const char *aid, const char *did, const char *sid, const char *pid)
 
hpd_error_t hpd_parameter_id_copy (hpd_parameter_id_t **dst, const hpd_parameter_id_t *src)
 
hpd_error_t hpd_parameter_id_free (hpd_parameter_id_t *id)
 
hpd_error_t hpd_parameter_next_attr (hpd_pair_t **pair)
 
hpd_error_t hpd_service_first_action (const hpd_service_id_t *id, hpd_action_t **action)
 
hpd_error_t hpd_service_first_attr (const hpd_service_id_t *id, hpd_pair_t **pair)
 
hpd_error_t hpd_service_first_parameter (const hpd_service_id_t *service_id, hpd_parameter_id_t **parameter_id)
 
hpd_error_t hpd_service_get_adapter (const hpd_service_id_t *sid, hpd_adapter_id_t **aid)
 
hpd_error_t hpd_service_get_attr (const hpd_service_id_t *id, const char *key, const char **val)
 
hpd_error_t hpd_service_get_attrs (const hpd_service_id_t *id,...)
 
hpd_error_t hpd_service_get_device (const hpd_service_id_t *sid, hpd_device_id_t **did)
 
hpd_error_t hpd_service_get_hpd (const hpd_service_id_t *sid, hpd_t **hpd)
 
hpd_error_t hpd_service_get_id (const hpd_service_id_t *sid, const char **id)
 [hpd_device_t functions] More...
 
hpd_error_t hpd_service_has_action (const hpd_service_id_t *id, const hpd_method_t method, hpd_bool_t *boolean)
 
hpd_error_t hpd_service_id_alloc (hpd_service_id_t **id, hpd_t *hpd, const char *aid, const char *did, const char *sid)
 
hpd_error_t hpd_service_id_copy (hpd_service_id_t **dst, const hpd_service_id_t *src)
 
hpd_error_t hpd_service_id_free (hpd_service_id_t *id)
 
hpd_error_t hpd_service_next_action (hpd_action_t **action)
 
hpd_error_t hpd_service_next_attr (hpd_pair_t **pair)
 
hpd_error_t hpd_service_next_parameter (hpd_parameter_id_t **parameter_id)
 
hpd_error_t hpd_value_alloc (hpd_value_t **value, const char *body, int len)
 [Browsing foreach loops] More...
 
hpd_error_t hpd_value_allocf (hpd_value_t **value, const char *fmt,...)
 
hpd_error_t hpd_value_copy (hpd_value_t **dst, const hpd_value_t *src)
 
hpd_error_t hpd_value_first_header (const hpd_value_t *value, hpd_pair_t **pair)
 
hpd_error_t hpd_value_free (hpd_value_t *value)
 
hpd_error_t hpd_value_get_body (const hpd_value_t *value, const char **body, size_t *len)
 
hpd_error_t hpd_value_get_header (const hpd_value_t *value, const char *key, const char **val)
 
hpd_error_t hpd_value_get_headers (const hpd_value_t *value,...)
 
hpd_error_t hpd_value_next_header (hpd_pair_t **pair)
 
hpd_error_t hpd_value_set_header (hpd_value_t *value, const char *key, const char *val)
 
hpd_error_t hpd_value_set_headers (hpd_value_t *value,...)
 
hpd_error_t hpd_value_vallocf (hpd_value_t **value, const char *fmt, va_list vp)
 
hpd_error_t hpd_vlogf (const hpd_module_t *context, hpd_log_level_t level, const char *file, int line, const char *fmt, va_list vp)
 

Macro Definition Documentation

#define hpd_adapter_foreach_attr (   RC,
  PAIR,
  ID 
)
Value:
for ( \
(RC) = hpd_adapter_first_attr((ID), &(PAIR)); \
!(RC) && (PAIR); \
(RC) = hpd_adapter_next_attr(&(PAIR)))
hpd_error_t hpd_adapter_first_attr(const hpd_adapter_id_t *id, hpd_pair_t **pair)
hpd_error_t hpd_adapter_next_attr(hpd_pair_t **pair)

Definition at line 121 of file hpd_shared_api.h.

#define hpd_adapter_foreach_device (   RC,
  DEVICE,
  ADAPTER 
)
Value:
for ( \
(RC) = hpd_adapter_first_device((ADAPTER), &(DEVICE)); \
!(RC) && (DEVICE); \
(RC) = hpd_adapter_next_device(&(DEVICE)))
hpd_error_t hpd_adapter_first_device(const hpd_adapter_id_t *adapter_id, hpd_device_id_t **device_id)
hpd_error_t hpd_adapter_next_device(hpd_device_id_t **device_id)

Definition at line 190 of file hpd_shared_api.h.

#define hpd_adapter_foreach_service (   RC,
  SERVICE,
  ADAPTER 
)
Value:
for ( \
(RC) = hpd_adapter_first_service((ADAPTER), &(SERVICE)); \
!(RC) && (SERVICE); \
(RC) = hpd_adapter_next_service(&(SERVICE)))
hpd_error_t hpd_adapter_first_service(const hpd_adapter_id_t *adapter_id, hpd_service_id_t **service_id)
hpd_error_t hpd_adapter_next_service(hpd_service_id_t **service_id)

Definition at line 194 of file hpd_shared_api.h.

#define hpd_device_foreach_attr (   RC,
  PAIR,
  ID 
)
Value:
for ( \
(RC) = hpd_device_first_attr((ID), &(PAIR)); \
!(RC) && (PAIR); \
(RC) = hpd_device_next_attr(&(PAIR)))
hpd_error_t hpd_device_next_attr(hpd_pair_t **pair)
hpd_error_t hpd_device_first_attr(const hpd_device_id_t *id, hpd_pair_t **pair)

Definition at line 125 of file hpd_shared_api.h.

#define hpd_device_foreach_service (   RC,
  SERVICE,
  DEVICE 
)
Value:
for ( \
(RC) = hpd_device_first_service((DEVICE), &(SERVICE)); \
!(RC) && (SERVICE); \
(RC) = hpd_device_next_service(&(SERVICE)))
hpd_error_t hpd_device_next_service(hpd_service_id_t **service_id)
hpd_error_t hpd_device_first_service(const hpd_device_id_t *device_id, hpd_service_id_t **service_id)

Definition at line 198 of file hpd_shared_api.h.

#define hpd_foreach_adapter (   RC,
  ADAPTER,
  HPD 
)
Value:
for ( \
(RC) = hpd_first_adapter((HPD), &(ADAPTER)); \
!(RC) && (ADAPTER); \
(RC) = hpd_next_adapter(&(ADAPTER)))
hpd_error_t hpd_first_adapter(hpd_t *hpd, hpd_adapter_id_t **adapter_id)
hpd_error_t hpd_next_adapter(hpd_adapter_id_t **adapter_id)

[Browsing functions]

[Browsing foreach loops]

Definition at line 178 of file hpd_shared_api.h.

#define hpd_foreach_device (   RC,
  DEVICE,
  HPD 
)
Value:
for ( \
(RC) = hpd_first_device((HPD), &(DEVICE)); \
!(RC) && (DEVICE); \
(RC) = hpd_next_device(&(DEVICE)))
hpd_error_t hpd_next_device(hpd_device_id_t **device_id)
hpd_error_t hpd_first_device(hpd_t *hpd, hpd_device_id_t **device_id)

Definition at line 182 of file hpd_shared_api.h.

#define hpd_foreach_service (   RC,
  SERVICE,
  HPD 
)
Value:
for ( \
(RC) = hpd_first_service((HPD), &(SERVICE)); \
!(RC) && (SERVICE); \
(RC) = hpd_next_service(&(SERVICE)))
hpd_error_t hpd_first_service(hpd_t *hpd, hpd_service_id_t **service_id)
hpd_error_t hpd_next_service(hpd_service_id_t **service_id)

Definition at line 186 of file hpd_shared_api.h.

#define HPD_LOG_DEBUG (   CONTEXT,
  FMT,
  ... 
)    hpd_logf((CONTEXT), HPD_L_DEBUG, __FILE__, __LINE__, (FMT), ##__VA_ARGS__)

Definition at line 53 of file hpd_shared_api.h.

#define HPD_LOG_ERROR (   CONTEXT,
  FMT,
  ... 
)    hpd_logf((CONTEXT), HPD_L_ERROR, __FILE__, __LINE__, (FMT), ##__VA_ARGS__)

Definition at line 50 of file hpd_shared_api.h.

#define HPD_LOG_INFO (   CONTEXT,
  FMT,
  ... 
)    hpd_logf((CONTEXT), HPD_L_INFO , __FILE__, __LINE__, (FMT), ##__VA_ARGS__)

Definition at line 52 of file hpd_shared_api.h.

#define HPD_LOG_RETURN (   CONTEXT,
  E,
  FMT,
  ... 
)    do { HPD_LOG_DEBUG((CONTEXT), (FMT), ##__VA_ARGS__); return (E); } while(0)

Definition at line 56 of file hpd_shared_api.h.

#define HPD_LOG_RETURN_E_ALLOC (   CONTEXT)    HPD_LOG_RETURN((CONTEXT), HPD_E_ALLOC, "Unable to allocate memory.")

Definition at line 58 of file hpd_shared_api.h.

#define HPD_LOG_RETURN_E_NULL (   CONTEXT)    HPD_LOG_RETURN((CONTEXT), HPD_E_NULL, "Unexpected null pointer.")

Definition at line 57 of file hpd_shared_api.h.

#define HPD_LOG_RETURN_E_SNPRINTF (   CONTEXT)    HPD_LOG_RETURN((CONTEXT), HPD_E_UNKNOWN, "snprintf failed.")

Definition at line 60 of file hpd_shared_api.h.

#define HPD_LOG_VERBOSE (   CONTEXT,
  FMT,
  ... 
)    hpd_logf((CONTEXT), HPD_L_VERBOSE, __FILE__, __LINE__, (FMT), ##__VA_ARGS__)

Definition at line 54 of file hpd_shared_api.h.

#define HPD_LOG_WARN (   CONTEXT,
  FMT,
  ... 
)    hpd_logf((CONTEXT), HPD_L_WARN , __FILE__, __LINE__, (FMT), ##__VA_ARGS__)

Definition at line 51 of file hpd_shared_api.h.

#define hpd_parameter_foreach_attr (   RC,
  PAIR,
  ID 
)
Value:
for ( \
(RC) = hpd_parameter_first_attr((ID), &(PAIR)); \
!(RC) && (PAIR); \
(RC) = hpd_parameter_next_attr(&(PAIR)))
hpd_error_t hpd_parameter_next_attr(hpd_pair_t **pair)
hpd_error_t hpd_parameter_first_attr(const hpd_parameter_id_t *id, hpd_pair_t **pair)

Definition at line 133 of file hpd_shared_api.h.

#define hpd_service_foreach_action (   RC,
  ACTION,
  ID 
)
Value:
for ( \
(RC) = hpd_service_first_action((ID), &(ACTION)); \
!(RC) && (ACTION); \
(RC) = hpd_service_next_action(&(ACTION)))
hpd_error_t hpd_service_next_action(hpd_action_t **action)
hpd_error_t hpd_service_first_action(const hpd_service_id_t *id, hpd_action_t **action)

[hpd_parameter_t functions]

[model foreach loops]

Definition at line 117 of file hpd_shared_api.h.

#define hpd_service_foreach_attr (   RC,
  PAIR,
  ID 
)
Value:
for ( \
(RC) = hpd_service_first_attr((ID), &(PAIR)); \
!(RC) && (PAIR); \
(RC) = hpd_service_next_attr(&(PAIR)))
hpd_error_t hpd_service_first_attr(const hpd_service_id_t *id, hpd_pair_t **pair)
hpd_error_t hpd_service_next_attr(hpd_pair_t **pair)

Definition at line 129 of file hpd_shared_api.h.

#define hpd_service_foreach_parameter (   RC,
  PARAMETER,
  SERVICE 
)
Value:
for ( \
(RC) = hpd_service_first_parameter((SERVICE), &(PARAMETER)); \
!(RC) && (PARAMETER); \
(RC) = hpd_service_next_parameter(&(PARAMETER)))
hpd_error_t hpd_service_next_parameter(hpd_parameter_id_t **parameter_id)
hpd_error_t hpd_service_first_parameter(const hpd_service_id_t *service_id, hpd_parameter_id_t **parameter_id)

Definition at line 202 of file hpd_shared_api.h.

#define hpd_value_foreach_header (   RC,
  PAIR,
  VALUE 
)
Value:
for ( \
(RC) = hpd_value_first_header((VALUE), &(PAIR)); \
!(RC) && (PAIR); \
(RC) = hpd_value_next_header(&(PAIR)))
hpd_error_t hpd_value_next_header(hpd_pair_t **pair)
Definition: value_api.c:117
hpd_error_t hpd_value_first_header(const hpd_value_t *value, hpd_pair_t **pair)
Definition: value_api.c:111

[hpd_value_t functions]

[hpd_value_t foreach loops]

Definition at line 225 of file hpd_shared_api.h.

Function Documentation

hpd_error_t hpd_action_get_method ( const hpd_action_t action,
hpd_method_t method 
)

[model foreach loops]

[hpd_action_t functions]

Definition at line 638 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_first_attr ( const hpd_adapter_id_t id,
hpd_pair_t **  pair 
)

Definition at line 212 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_adapter_first_device ( const hpd_adapter_id_t adapter_id,
hpd_device_id_t **  device_id 
)

Definition at line 758 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_adapter_first_service ( const hpd_adapter_id_t adapter_id,
hpd_service_id_t **  service_id 
)

Definition at line 779 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_adapter_get_attr ( const hpd_adapter_id_t id,
const char *  key,
const char **  val 
)

Definition at line 186 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_adapter_get_attrs ( const hpd_adapter_id_t id,
  ... 
)

Definition at line 196 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_adapter_get_hpd ( const hpd_adapter_id_t aid,
hpd_t **  hpd 
)

[hpd_pair_t functions]

[Browsing functions]

Definition at line 644 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_adapter_get_id ( const hpd_adapter_id_t aid,
const char **  id 
)

[id_t functions]

[hpd_adapter_t functions]

Definition at line 176 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_id_alloc ( hpd_adapter_id_t **  id,
hpd_t hpd,
const char *  aid 
)

[log functions]

[id_t functions]

Definition at line 34 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_id_copy ( hpd_adapter_id_t **  dst,
const hpd_adapter_id_t src 
)

Definition at line 40 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_adapter_id_free ( hpd_adapter_id_t id)

Definition at line 46 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_next_attr ( hpd_pair_t **  pair)

Definition at line 224 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_adapter_next_device ( hpd_device_id_t **  device_id)

Definition at line 925 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_adapter_next_service ( hpd_service_id_t **  service_id)

Definition at line 951 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_device_first_attr ( const hpd_device_id_t id,
hpd_pair_t **  pair 
)

Definition at line 342 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_device_first_service ( const hpd_device_id_t device_id,
hpd_service_id_t **  service_id 
)

Definition at line 801 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_device_get_adapter ( const hpd_device_id_t did,
hpd_adapter_id_t **  aid 
)

Definition at line 656 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_attr ( const hpd_device_id_t id,
const char *  key,
const char **  val 
)

Definition at line 316 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_device_get_attrs ( const hpd_device_id_t id,
  ... 
)

Definition at line 326 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_device_get_hpd ( const hpd_device_id_t did,
hpd_t **  hpd 
)

Definition at line 650 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_device_get_id ( const hpd_device_id_t did,
const char **  id 
)

[hpd_adapter_t functions]

[hpd_device_t functions]

Definition at line 306 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_id_alloc ( hpd_device_id_t **  id,
hpd_t hpd,
const char *  aid,
const char *  did 
)

Definition at line 52 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_device_id_copy ( hpd_device_id_t **  dst,
const hpd_device_id_t src 
)

Definition at line 58 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_device_id_free ( hpd_device_id_t id)

Definition at line 64 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_next_attr ( hpd_pair_t **  pair)

Definition at line 354 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_device_next_service ( hpd_service_id_t **  service_id)

Definition at line 978 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_first_adapter ( hpd_t hpd,
hpd_adapter_id_t **  adapter_id 
)

Definition at line 704 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_first_device ( hpd_t hpd,
hpd_device_id_t **  device_id 
)

Definition at line 721 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_first_service ( hpd_t hpd,
hpd_service_id_t **  service_id 
)

Definition at line 739 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_get_loop ( hpd_t hpd,
hpd_ev_loop_t **  loop 
)

Definition at line 44 of file daemon_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_logf ( const hpd_module_t context,
hpd_log_level_t  level,
const char *  file,
int  line,
const char *  fmt,
  ... 
)

[hpd_t functions]

[log functions]

Definition at line 31 of file log_api.c.

Here is the call graph for this function:

hpd_error_t hpd_module_add_option ( const hpd_module_t context,
const char *  name,
const char *  arg,
int  flags,
const char *  doc 
)

[hpd_t functions]

Definition at line 65 of file daemon_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_module_get_id ( const hpd_module_t context,
const char **  id 
)

Definition at line 79 of file daemon_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_next_adapter ( hpd_adapter_id_t **  adapter_id)

Definition at line 847 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_next_device ( hpd_device_id_t **  device_id)

Definition at line 872 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_next_service ( hpd_service_id_t **  service_id)

Definition at line 898 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_pair_get ( const hpd_pair_t pair,
const char **  key,
const char **  value 
)

[hpd_action_t functions]

[hpd_pair_t functions]

Definition at line 229 of file map.c.

hpd_error_t hpd_parameter_first_attr ( const hpd_parameter_id_t id,
hpd_pair_t **  pair 
)

Definition at line 619 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_get_adapter ( const hpd_parameter_id_t pid,
hpd_adapter_id_t **  aid 
)

Definition at line 686 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_get_attr ( const hpd_parameter_id_t id,
const char *  key,
const char **  val 
)

Definition at line 593 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_get_attrs ( const hpd_parameter_id_t id,
  ... 
)

Definition at line 603 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_get_device ( const hpd_parameter_id_t pid,
hpd_device_id_t **  did 
)

Definition at line 692 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_get_hpd ( const hpd_parameter_id_t pid,
hpd_t **  hpd 
)

Definition at line 680 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_get_id ( const hpd_parameter_id_t pid,
const char **  id 
)

[hpd_service_t functions]

[hpd_parameter_t functions]

Definition at line 583 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_get_service ( const hpd_parameter_id_t pid,
hpd_service_id_t **  sid 
)

Definition at line 698 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_id_alloc ( hpd_parameter_id_t **  id,
hpd_t hpd,
const char *  aid,
const char *  did,
const char *  sid,
const char *  pid 
)

Definition at line 89 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_id_copy ( hpd_parameter_id_t **  dst,
const hpd_parameter_id_t src 
)

Definition at line 96 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_id_free ( hpd_parameter_id_t id)

Definition at line 102 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_parameter_next_attr ( hpd_pair_t **  pair)

Definition at line 631 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_first_action ( const hpd_service_id_t id,
hpd_action_t **  action 
)

Definition at line 497 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_first_attr ( const hpd_service_id_t id,
hpd_pair_t **  pair 
)

Definition at line 513 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_first_parameter ( const hpd_service_id_t service_id,
hpd_parameter_id_t **  parameter_id 
)

Definition at line 823 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_get_adapter ( const hpd_service_id_t sid,
hpd_adapter_id_t **  aid 
)

Definition at line 668 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_attr ( const hpd_service_id_t id,
const char *  key,
const char **  val 
)

Definition at line 458 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_get_attrs ( const hpd_service_id_t id,
  ... 
)

Definition at line 468 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_get_device ( const hpd_service_id_t sid,
hpd_device_id_t **  did 
)

Definition at line 674 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_hpd ( const hpd_service_id_t sid,
hpd_t **  hpd 
)

Definition at line 662 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_get_id ( const hpd_service_id_t sid,
const char **  id 
)

[hpd_device_t functions]

[hpd_service_t functions]

Definition at line 448 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_has_action ( const hpd_service_id_t id,
const hpd_method_t  method,
hpd_bool_t boolean 
)

Definition at line 484 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_id_alloc ( hpd_service_id_t **  id,
hpd_t hpd,
const char *  aid,
const char *  did,
const char *  sid 
)

Definition at line 70 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_id_copy ( hpd_service_id_t **  dst,
const hpd_service_id_t src 
)

Definition at line 76 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_id_free ( hpd_service_id_t id)

Definition at line 82 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_next_action ( hpd_action_t **  action)

Definition at line 507 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_next_attr ( hpd_pair_t **  pair)

Definition at line 525 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_service_next_parameter ( hpd_parameter_id_t **  parameter_id)

Definition at line 1005 of file discovery_api.c.

Here is the call graph for this function:

hpd_error_t hpd_value_alloc ( hpd_value_t **  value,
const char *  body,
int  len 
)

[Browsing foreach loops]

[hpd_value_t functions]

Definition at line 33 of file value_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_value_allocf ( hpd_value_t **  value,
const char *  fmt,
  ... 
)

Definition at line 41 of file value_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_value_copy ( hpd_value_t **  dst,
const hpd_value_t src 
)

Definition at line 56 of file value_api.c.

Here is the call graph for this function:

hpd_error_t hpd_value_first_header ( const hpd_value_t value,
hpd_pair_t **  pair 
)

Definition at line 111 of file value_api.c.

Here is the call graph for this function:

hpd_error_t hpd_value_free ( hpd_value_t value)

Definition at line 62 of file value_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_value_get_body ( const hpd_value_t value,
const char **  body,
size_t *  len 
)

Definition at line 87 of file value_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hpd_value_get_header ( const hpd_value_t value,
const char *  key,
const char **  val 
)

Definition at line 93 of file value_api.c.

Here is the call graph for this function:

hpd_error_t hpd_value_get_headers ( const hpd_value_t value,
  ... 
)

Definition at line 99 of file value_api.c.

Here is the call graph for this function:

hpd_error_t hpd_value_next_header ( hpd_pair_t **  pair)

Definition at line 117 of file value_api.c.

Here is the call graph for this function:

hpd_error_t hpd_value_set_header ( hpd_value_t value,
const char *  key,
const char *  val 
)

Definition at line 68 of file value_api.c.

Here is the call graph for this function:

hpd_error_t hpd_value_set_headers ( hpd_value_t value,
  ... 
)

Definition at line 75 of file value_api.c.

Here is the call graph for this function:

hpd_error_t hpd_value_vallocf ( hpd_value_t **  value,
const char *  fmt,
va_list  vp 
)

Definition at line 50 of file value_api.c.

Here is the call graph for this function:

hpd_error_t hpd_vlogf ( const hpd_module_t context,
hpd_log_level_t  level,
const char *  file,
int  line,
const char *  fmt,
va_list  vp 
)

Definition at line 42 of file log_api.c.

Here is the call graph for this function: