Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_ldap_runtime_object_maps.c
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Adaptive Framework Runtime Object Mapping
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_ldap".
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_ldap_generated.h"
27 
28 
29 
30 /* Runtime object map properties for _AdaptiveAdaptorTypeSpecific_ldap_retrieve_objects objects. */
31 
33 impl_runtime_meta__AdaptiveAdaptorTypeSpecific_ldap_retrieve_objects = {
34  &afw_ldap_s__AdaptiveAdaptorTypeSpecific_ldap_retrieve_objects,
35  NULL,
37  false,
38 };
39 
40 AFW_RUNTIME_OBJECT_RTI(
41  impl_runtime_rti__AdaptiveAdaptorTypeSpecific_ldap_retrieve_objects,
42  impl_runtime_meta__AdaptiveAdaptorTypeSpecific_ldap_retrieve_objects);
43 
44 
45 /* Runtime object map properties for _AdaptiveConf_adaptor_ldap objects. */
46 
48 impl_runtime_meta__AdaptiveConf_adaptor_ldap = {
49  &afw_ldap_s__AdaptiveConf_adaptor_ldap,
50  NULL,
52  false,
53 };
54 
55 AFW_RUNTIME_OBJECT_RTI(
56  impl_runtime_rti__AdaptiveConf_adaptor_ldap,
57  impl_runtime_meta__AdaptiveConf_adaptor_ldap);
58 
59 
60 /* Runtime object map properties for _AdaptiveConf_adaptor_ldap_bind objects. */
61 
63 impl_runtime_meta__AdaptiveConf_adaptor_ldap_bind = {
64  &afw_ldap_s__AdaptiveConf_adaptor_ldap_bind,
65  NULL,
67  false,
68 };
69 
70 AFW_RUNTIME_OBJECT_RTI(
71  impl_runtime_rti__AdaptiveConf_adaptor_ldap_bind,
72  impl_runtime_meta__AdaptiveConf_adaptor_ldap_bind);
73 
74 
75 /* Runtime object map properties for _AdaptiveLdapAttributeType_ objects. */
76 
78 impl_runtime_meta__AdaptiveLdapAttributeType_ = {
79  &afw_ldap_s__AdaptiveLdapAttributeType_,
80  NULL,
82  false,
83 };
84 
85 AFW_RUNTIME_OBJECT_RTI(
86  impl_runtime_rti__AdaptiveLdapAttributeType_,
87  impl_runtime_meta__AdaptiveLdapAttributeType_);
88 
89 
90 /* Runtime object map properties for _AdaptiveLdapMatchingRuleUse_ objects. */
91 
93 impl_runtime_meta__AdaptiveLdapMatchingRuleUse_ = {
94  &afw_ldap_s__AdaptiveLdapMatchingRuleUse_,
95  NULL,
97  false,
98 };
99 
100 AFW_RUNTIME_OBJECT_RTI(
101  impl_runtime_rti__AdaptiveLdapMatchingRuleUse_,
102  impl_runtime_meta__AdaptiveLdapMatchingRuleUse_);
103 
104 
105 /* Runtime object map properties for _AdaptiveLdapMatchingRule_ objects. */
106 
108 impl_runtime_meta__AdaptiveLdapMatchingRule_ = {
109  &afw_ldap_s__AdaptiveLdapMatchingRule_,
110  NULL,
112  false,
113 };
114 
115 AFW_RUNTIME_OBJECT_RTI(
116  impl_runtime_rti__AdaptiveLdapMatchingRule_,
117  impl_runtime_meta__AdaptiveLdapMatchingRule_);
118 
119 
120 /* Runtime object map properties for _AdaptiveLdapObjectClass_ objects. */
121 
123 impl_runtime_meta__AdaptiveLdapObjectClass_ = {
124  &afw_ldap_s__AdaptiveLdapObjectClass_,
125  NULL,
127  false,
128 };
129 
130 AFW_RUNTIME_OBJECT_RTI(
131  impl_runtime_rti__AdaptiveLdapObjectClass_,
132  impl_runtime_meta__AdaptiveLdapObjectClass_);
133 
134 
135 /* Runtime object map properties for _AdaptiveLdapRootDse_ objects. */
136 
138 impl_runtime_meta__AdaptiveLdapRootDse_ = {
139  &afw_ldap_s__AdaptiveLdapRootDse_,
140  NULL,
142  false,
143 };
144 
145 AFW_RUNTIME_OBJECT_RTI(
146  impl_runtime_rti__AdaptiveLdapRootDse_,
147  impl_runtime_meta__AdaptiveLdapRootDse_);
148 
149 
150 /* Runtime object map properties for _AdaptiveLdapSchema_ objects. */
151 
153 impl_runtime_meta__AdaptiveLdapSchema_ = {
154  &afw_ldap_s__AdaptiveLdapSchema_,
155  NULL,
157  false,
158 };
159 
160 AFW_RUNTIME_OBJECT_RTI(
161  impl_runtime_rti__AdaptiveLdapSchema_,
162  impl_runtime_meta__AdaptiveLdapSchema_);
163 
164 
165 /* Runtime object map properties for _AdaptiveLdapSyntax_ objects. */
166 
168 impl_runtime_meta__AdaptiveLdapSyntax_ = {
169  &afw_ldap_s__AdaptiveLdapSyntax_,
170  NULL,
172  false,
173 };
174 
175 AFW_RUNTIME_OBJECT_RTI(
176  impl_runtime_rti__AdaptiveLdapSyntax_,
177  impl_runtime_meta__AdaptiveLdapSyntax_);
178 
179 /* NULL terminated list of rti pointers. */
180 static const afw_interface_implementation_rti_t * impl_rti[] = {
181  &impl_runtime_rti__AdaptiveAdaptorTypeSpecific_ldap_retrieve_objects,
182  &impl_runtime_rti__AdaptiveConf_adaptor_ldap,
183  &impl_runtime_rti__AdaptiveConf_adaptor_ldap_bind,
184  &impl_runtime_rti__AdaptiveLdapAttributeType_,
185  &impl_runtime_rti__AdaptiveLdapMatchingRuleUse_,
186  &impl_runtime_rti__AdaptiveLdapMatchingRule_,
187  &impl_runtime_rti__AdaptiveLdapObjectClass_,
188  &impl_runtime_rti__AdaptiveLdapRootDse_,
189  &impl_runtime_rti__AdaptiveLdapSchema_,
190  &impl_runtime_rti__AdaptiveLdapSyntax_,
191  NULL
192 };
193 
194 /* Register (afw_ldap_) runtime object maps. */
196  afw_xctx_t *xctx)
197 {
199  &impl_rti[0],
200  xctx);
201 }
Adaptive Framework Core API.
Adaptive Framework register generated (afw_ldap) header.
void afw_ldap_register_runtime_object_maps(afw_xctx_t *xctx)
Register (afw_ldap_) runtime object maps.
#define offsetof(type, member)
Definition: afw_common.h:135
afw_runtime_resolve_and_register_object_map_infs(const afw_interface_implementation_rti_t *const *rti, afw_xctx_t *xctx)
Create and register runtime object map interfaces.
Definition: afw_runtime.c:373
Interface Implementation Run Time Information.
Interface afw_xctx public struct.