10 #define __AFW_YAML_H__
32 #define AFW_ERROR_RV_SOURCE_ID_Z_yaml_parser "yaml_parser"
35 #define AFW_ERROR_RV_SOURCE_ID_Z_yaml_token_type "yaml_token_type"
37 #define AFW_YAML_Q_CONTENT_TYPE "application/x-yaml"
38 #define AFW_YAML_S_CONTENT_TYPE afw_s_a_application_yaml
39 #define AFW_YAML_Q_CONTENT_TYPE_SHORT "yaml"
40 #define AFW_YAML_S_CONTENT_TYPE_SHORT afw_s_yaml
#define AFW_BEGIN_DECLARES
Adaptive Framework Minimal Header.
Adaptive Framework register generated (afw_yaml) header.
void afw_yaml_register(afw_xctx_t *xctx)
Register YAML support.
const afw_value_t * afw_yaml_to_value(const afw_memory_t *yaml, const afw_utf8_t *path, const afw_pool_t *p, afw_xctx_t *xctx)
Convert YAML to an adaptive value.
const afw_utf8_t * afw_yaml_from_value(const afw_value_t *value, const afw_pool_t *p, afw_xctx_t *xctx)
Convert an adaptive value to YAML.
const afw_utf8_t * afw_yaml_from_error(afw_xctx_t *xctx)
Convert error from xctx to a YAML object.
const afw_object_t * afw_yaml_to_object(const afw_memory_t *yaml, const afw_utf8_t *source_location, const afw_utf8_t *adaptor_id, const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, afw_boolean_t cede_p, const afw_pool_t *p, afw_xctx_t *xctx)
Convert from YAML to adaptive object.
Struct for memory pointer and size.
Interface afw_object public struct.
Interface afw_pool public struct.
NFC normalized UTF-8 string.
Interface afw_value public struct.
Interface afw_xctx public struct.