Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_json_internal.h
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Adaptive Framework JSON Support Internal Header
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 #ifndef __AFW_JSON_INTERNAL_H__
10 #define __AFW_JSON_INTERNAL_H__
11 
12 #include "afw_interface.h"
13 
30 
31 /* Convert a value to json and write it. */
32 void afw_json_internal_write_value(
33  const afw_value_t *value,
34  const afw_object_options_t *options,
35  void * context,
36  afw_write_cb_t callback,
37  const afw_pool_t *p,
38  afw_xctx_t *xctx);
39 
40 AFW_END_DECLARES
41 
44 #endif /* __AFW_JSON_INTERNAL_H__ */
#define AFW_BEGIN_DECLARES
Interfaceafw_interface header.
afw_size_t(* afw_write_cb_t)(void *context, const void *buffer, afw_size_t size, const afw_pool_t *p, afw_xctx_t *xctx)
Typedef for write callback function.
Definition: afw_common.h:1226
Struct for object processing options.
Interface afw_pool public struct.
Interface afw_value public struct.
Interface afw_xctx public struct.