Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_ldap_adaptor_factory.c
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Implementation of afw_adaptor_factory interface for LDAP
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 
15 #include "afw.h"
16 #include "afw_ldap_internal.h"
17 
18 
19 /* Declares and rti/inf defines for interface afw_adaptor_factory */
20 #define AFW_IMPLEMENTATION_ID "ldap"
22 
23 
24 static const afw_utf8_t impl_factory_description =
25 AFW_UTF8_LITERAL("Adaptor type for Lightweight Directory Access Protocol (LDAP).");
26 
28 afw_ldap_adaptor_factory =
29 {
30  &impl_afw_adaptor_factory_inf,
31  AFW_UTF8_LITERAL("ldap"),
32  &impl_factory_description
33 };
34 
35 
36 /*
37  * Implementation of method create_adaptor_cede_p of interface afw_adaptor_factory.
38  */
39 const afw_adaptor_t *
40 impl_afw_adaptor_factory_create_adaptor_cede_p (
41  const afw_adaptor_factory_t * instance,
42  const afw_object_t * properties,
43  const afw_pool_t * p,
44  afw_xctx_t *xctx)
45 {
46  return afw_ldap_internal_adaptor_create_cede_p(properties, p, xctx);
47 }
Adaptive Framework Core API.
Interface afw_interface implementation declares.
const afw_adaptor_t * afw_ldap_internal_adaptor_create_cede_p(const afw_object_t *properties, const afw_pool_t *p, afw_xctx_t *xctx)
Internal create an LDAP adaptor.
Adaptive Framework LDAP Internal Header
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
Definition: afw_common.h:582
Interface afw_adaptor_factory public struct.
Interface afw_adaptor public struct.
Interface afw_object public struct.
Interface afw_pool public struct.
NFC normalized UTF-8 string.
Definition: afw_common.h:545
Interface afw_xctx public struct.