Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions
afw_yaml.c File Reference

YAML Miscellaneous Functions. More...

#include "afw.h"
#include "afw_yaml.h"
#include "afw_content_type_impl.h"
#include "generated/afw_yaml_version_info.h"
#include "afw_extension_impl_declares.h"
#include "afw_content_type_impl_declares.h"

Go to the source code of this file.

Macros

#define AFW_IMPLEMENTATION_ID   "afw_yaml"
 
#define AFW_IMPLEMENTATION_VERSION   AFW_YAML_VERSION_STRING
 

Functions

void afw_yaml_internal_write_value (const afw_value_t *value, const afw_object_options_t *options, void *context, afw_write_cb_t callback, const afw_pool_t *p, afw_xctx_t *xctx)
 
const afw_content_type_tafw_yaml_content_type_get ()
 Get the content type instance for FIXME. More...
 
void afw_yaml_register (afw_xctx_t *xctx)
 Register YAML support. More...
 
 AFW_ENVIRONMENT_DEFINE_EXTENSION_IMPL ()
 
const afw_extension_timpl_afw_extension_initialize (const afw_extension_t *instance, const afw_object_t *properties, const afw_pool_t *p, afw_xctx_t *xctx)
 
void impl_afw_extension_release (const afw_extension_t *instance, afw_xctx_t *xctx)
 
const afw_utf8_tafw_yaml_from_error (afw_xctx_t *xctx)
 Convert error from xctx to a YAML object. More...
 
const afw_value_timpl_afw_content_type_raw_to_value (const afw_content_type_t *instance, const afw_memory_t *raw, const afw_utf8_t *source_location, const afw_pool_t *p, afw_xctx_t *xctx)
 
const afw_object_timpl_afw_content_type_raw_to_object (const afw_content_type_t *instance, const afw_memory_t *raw, 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)
 
void impl_afw_content_type_write_value (const afw_content_type_t *instance, const afw_value_t *value, const afw_object_options_t *options, void *context, afw_write_cb_t callback, const afw_pool_t *p, afw_xctx_t *xctx)
 
const afw_content_type_object_list_writer_timpl_afw_content_type_create_object_list_writer (const afw_content_type_t *instance, const afw_object_options_t *options, void *context, afw_write_cb_t callback, const afw_pool_t *p, afw_xctx_t *xctx)
 

Detailed Description

YAML Miscellaneous Functions.

AFW yaml conversion functions.

Definition in file afw_yaml.c.

Function Documentation

◆ afw_yaml_content_type_get()

const afw_content_type_t* afw_yaml_content_type_get ( )

Get the content type instance for FIXME.

Call this from extension impl_initialize() function as parameter to afw_content_type_register() function.

afw_content_type_register(afw_yaml_content_type_get(), xctx);

Definition at line 84 of file afw_yaml.c.