Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_vfs_adaptor_factory.c
Go to the documentation of this file.
1 /* Interface afw_adaptor_factory Implementation for afw_vfs */
2 // See the 'COPYING' file in the project root for licensing information.
3 /*
4  * Adaptive Framework
5  *
6  * Copyright (c) 2010-2023 Clemson University
7  *
8  */
9 
10 
16 #include "afw.h"
17 #include "afw_adaptor_impl.h"
19 
20 
21 /* Declares and rti/inf defines for interface afw_adaptor_factory */
22 #define AFW_IMPLEMENTATION_ID "vfs"
24 
25 static const afw_utf8_t
26 impl_factory_description =
27  AFW_UTF8_LITERAL("Adaptor type vfs.");
28 
29 
31 afw_vfs_adaptor_factory_vfs =
32 {
33  &impl_afw_adaptor_factory_inf,
34  AFW_UTF8_LITERAL("vfs"),
35  &impl_factory_description
36 };
37 
38 
39 /*
40  * Implementation of method create_adaptor_cede_p of interface afw_adaptor_factory.
41  */
42 const afw_adaptor_t *
43 impl_afw_adaptor_factory_create_adaptor_cede_p (
44  const afw_adaptor_factory_t * instance,
45  const afw_object_t * properties,
46  const afw_pool_t * p,
47  afw_xctx_t *xctx)
48 {
49  return afw_vfs_adaptor_internal_create_cede_p(
50  properties, p, xctx);
51 }
Adaptive Framework Core API.
Interface afw_interface implementation declares.
Helpers for adaptor implementation development.
Internal header for adaptor type vfs.
#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.