Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_lmdb_generated.c
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Adaptive Framework Register Generated (afw_lmdb_)
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 /* ----------------------------- N O T E -------------------------------------
10  *
11  * This file is generated by "afwdev generate afw_lmdb".
12  *
13  * Do not change this file directly or the changes will be lost the next time
14  * this file is regenerated.
15  *
16  * -------------------------------------------------------------------------*/
17 
18 
19 
25 #include "afw.h"
26 #include "afw_lmdb_generated.h"
27 #include "afw_lmdb_version_info.h"
28 
29 static const afw_utf8_z_t * impl_version_info_z[] = {
30  "compileDate", __DATE__,
31  "compileTime", __TIME__,
32  "id", "afw_lmdb",
33  "gitBranch", AFW_GIT_INFO_BRANCH,
34  "gitDescribe", AFW_GIT_INFO_DESCRIBE,
35  "gitSha", AFW_GIT_INFO_SHA,
36  "libafwVersion", AFW_VERSION_STRING,
37  "libafwVersionWithGitInfo", AFW_VERSION_WITH_GIT_INFO,
38  "version", AFW_LMDB_VERSION_STRING,
39  "versionWithGitInfo", AFW_LMDB_VERSION_WITH_GIT_INFO,
40  NULL
41 };
42 
43 static const afw_utf8_t impl_version_info_path =
44  AFW_UTF8_LITERAL("/afw/_AdaptiveVersionInfo_/afw_lmdb");
45 
47 {
48 
49  /* Register functions. */
52 
53  /* Register object maps. */
55 
56  /* Register const runtime objects. */
58 
59  /* Register adaptor_type lmdb */
61 
62  /* Register error_rv_decoder lmdb */
64 
65  /* Register version info object. */
68  &impl_version_info_path,
69  impl_version_info_z,
70  xctx->env->p, xctx),
71  false, xctx);
72 
73 }
Adaptive Framework Core API.
void afw_lmdb_const_objects_register(afw_xctx_t *xctx)
Get array of afw_lmdb_ const objects.
void afw_lmdb_generated_register(afw_xctx_t *xctx)
Generated register for afw_lmdb.
Adaptive Framework register generated (afw_lmdb) header.
afw_lmdb_error_rv_decoder_lmdb_register(afw_xctx_t *xctx)
Register function for error_rv_decoder lmdb.
afw_lmdb_adaptor_type_lmdb_register(afw_xctx_t *xctx)
Register function for adaptor_type lmdb.
void afw_lmdb_register_runtime_object_maps(afw_xctx_t *xctx)
Register (afw_lmdb_) runtime object maps.
Adaptive Framework Version (afw_lmdb_) header.
afw_lmdb_function_bindings_get()
Get array of pointers to afw_lmdb_function bindings.
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
Definition: afw_common.h:582
afw_utf8_octet_t afw_utf8_z_t
NFC normalized UTF-8 null terminated string.
Definition: afw_common.h:523
afw_environment_register_functions(const afw_value_function_definition_t **functions, afw_xctx_t *xctx)
Register a NULL terminated list of functions.
const afw_object_t * afw_object_create_const_from_key_value_strings_z(const afw_utf8_t *path, const afw_utf8_z_t *const *pairs, const afw_pool_t *p, afw_xctx_t *xctx)
Create a const object from key/value utf-8 null terminated strings.
afw_runtime_env_set_object(const afw_object_t *object, afw_boolean_t overwrite, afw_xctx_t *xctx)
Set an object pointer in the environment's runtime objects.
Definition: afw_runtime.c:210
const afw_pool_t * p
Pool used to hold environment.
Definition: afw_common.h:1386
NFC normalized UTF-8 string.
Definition: afw_common.h:545
Interface afw_xctx public struct.