Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_adaptor_transaction_impl_declares.h
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Interface afw_interface Implementation Declares
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
10 
12 
75 #ifdef __AFW_ADAPTOR_TRANSACTION_IMPL_DECLARES_H__
76 #ifndef AFW_ADAPTOR_TRANSACTION_INF_ONLY
77 #error "afw_adaptor_transaction_impl_declares.h already included."
78 #endif
79 #endif
80 #ifndef __AFW_ADAPTOR_TRANSACTION_IMPL_DECLARES_H__
81 #ifdef AFW_ADAPTOR_TRANSACTION_INF_ONLY
82 #error "afw_adaptor_transaction_impl_declares.h must be included before AFW_ADAPTOR_TRANSACTION_INF_ONLY."
83 #endif
84 #define __AFW_ADAPTOR_TRANSACTION_IMPL_DECLARES_H__ 1
85 #endif
86 
87 #ifdef AFW_IMPLEMENTATION_ID
88 #define _AFW_IMPLEMENTATION_ID_ AFW_IMPLEMENTATION_ID
89 #else
90 #define _AFW_IMPLEMENTATION_ID_ "unspecified"
91 #endif
92 #ifdef AFW_IMPLEMENTATION_SPECIFIC
93 #define _AFW_IMPLEMENTATION_SPECIFIC_ AFW_IMPLEMENTATION_SPECIFIC
94 #else
95 #define _AFW_IMPLEMENTATION_SPECIFIC_ NULL
96 #endif
97 #ifndef AFW_ADAPTOR_TRANSACTION_INF_ONLY
98 
99 #ifndef impl_afw_adaptor_transaction_release
100 /* Declare method release */
101 AFW_DECLARE_STATIC(void)
102 impl_afw_adaptor_transaction_release(
103  const afw_adaptor_transaction_t * instance,
104  afw_xctx_t * xctx);
105 #endif
106 
107 #ifndef impl_afw_adaptor_transaction_commit
108 /* Declare method commit */
109 AFW_DECLARE_STATIC(void)
110 impl_afw_adaptor_transaction_commit(
111  const afw_adaptor_transaction_t * instance,
112  afw_xctx_t * xctx);
113 #endif
114 #endif
115 
116 /* inf for interface afw_adaptor_transaction */
117 #ifdef __BASE_FILE__
118 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __BASE_FILE__
119 #else
120 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __FILE__
121 #endif
122 #ifdef AFW_IMPLEMENTATION_INF_SPECIFIER
123 AFW_IMPLEMENTATION_INF_SPECIFIER(afw_adaptor_transaction_inf_t)
124 #else
126 #endif
127 #ifdef AFW_IMPLEMENTATION_INF_LABEL
128 AFW_IMPLEMENTATION_INF_LABEL = {
129 #else
130 impl_afw_adaptor_transaction_inf = {
131 #endif
132  {
133  AFW_UTF8_LITERAL("afw_adaptor_transaction"),
134  AFW_UTF8_LITERAL(_AFW_IMPLEMENTATION_SOURCE_FILE_),
135  AFW_UTF8_LITERAL(_AFW_IMPLEMENTATION_ID_),
136  _AFW_IMPLEMENTATION_SPECIFIC_
137  },
138  impl_afw_adaptor_transaction_release,
139  impl_afw_adaptor_transaction_commit
140 };
141 
142 #undef _AFW_IMPLEMENTATION_ID_
143 #undef _AFW_IMPLEMENTATION_SPECIFIC_
144 #undef _AFW_IMPLEMENTATION_SOURCE_FILE_
145 
#define AFW_BEGIN_DECLARES
Interface afw_interface opaque typedefs.
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
Definition: afw_common.h:582
Interface afw_adaptor_transaction_inf_s struct.
Interface afw_adaptor_transaction public struct.
Interface afw_xctx public struct.