Go to the source code of this file.
|
hpd_error_t | hpd_rest_xml_get_configuration (hpd_t *hpd, hpd_rest_t *rest, const hpd_module_t *context, char **out) |
|
hpd_error_t | hpd_rest_xml_get_value (char *value, const hpd_module_t *context, char **out) |
|
hpd_error_t | hpd_rest_xml_parse_value (const char *in, const hpd_module_t *context, char **out) |
|
static hpd_error_t | rest_xml_add (mxml_node_t *parent, const char *key, const char *val, const hpd_module_t *context) |
|
static hpd_error_t | rest_xml_add_adapter (mxml_node_t *parent, hpd_adapter_id_t *adapter, hpd_rest_t *rest, const hpd_module_t *context) |
|
static hpd_error_t | rest_xml_add_attr (mxml_node_t *parent, hpd_pair_t *pair, const hpd_module_t *context) |
|
static hpd_error_t | rest_xml_add_configuration (mxml_node_t *parent, hpd_t *hpd, hpd_rest_t *rest, const hpd_module_t *context) |
|
static hpd_error_t | rest_xml_add_device (mxml_node_t *parent, hpd_device_id_t *device, hpd_rest_t *rest, const hpd_module_t *context) |
|
static hpd_error_t | rest_xml_add_parameter (mxml_node_t *parent, hpd_parameter_id_t *parameter, const hpd_module_t *context) |
|
static hpd_error_t | rest_xml_add_service (mxml_node_t *parent, hpd_service_id_t *service, hpd_rest_t *rest, const hpd_module_t *context) |
|
static hpd_error_t | rest_xml_add_value (mxml_node_t *parent, char *value, const hpd_module_t *context) |
|
static void | rest_xml_on_mxml_error (const char *msg) |
|
#define REST_XML_BEGIN |
( |
|
CONTEXT | ) |
|
Value:do { \
} while (0) \
static const hpd_module_t * rest_xml_global_context
static void rest_xml_on_mxml_error(const char *msg)
#define HPD_LOG_WARN(CONTEXT, FMT,...)
Definition at line 44 of file rest_xml.c.
Value:
} while (0)
static const hpd_module_t * rest_xml_global_context
Definition at line 50 of file rest_xml.c.
static hpd_error_t rest_xml_add |
( |
mxml_node_t * |
parent, |
|
|
const char * |
key, |
|
|
const char * |
val, |
|
|
const hpd_module_t * |
context |
|
) |
| |
|
static |
static void rest_xml_on_mxml_error |
( |
const char * |
msg | ) |
|
|
static |
const char* const REST_XML_VERSION = "1.0" |
|
static |