74 #ifdef __AFW_STREAM_IMPL_DECLARES_H__
75 #ifndef AFW_STREAM_INF_ONLY
76 #error "afw_stream_impl_declares.h already included."
79 #ifndef __AFW_STREAM_IMPL_DECLARES_H__
80 #ifdef AFW_STREAM_INF_ONLY
81 #error "afw_stream_impl_declares.h must be included before AFW_STREAM_INF_ONLY."
83 #define __AFW_STREAM_IMPL_DECLARES_H__ 1
86 #ifdef AFW_IMPLEMENTATION_ID
87 #define _AFW_IMPLEMENTATION_ID_ AFW_IMPLEMENTATION_ID
89 #define _AFW_IMPLEMENTATION_ID_ "unspecified"
91 #ifdef AFW_IMPLEMENTATION_SPECIFIC
92 #define _AFW_IMPLEMENTATION_SPECIFIC_ AFW_IMPLEMENTATION_SPECIFIC
94 #define _AFW_IMPLEMENTATION_SPECIFIC_ NULL
96 #ifndef AFW_STREAM_INF_ONLY
98 #ifndef impl_afw_stream_release
100 AFW_DECLARE_STATIC(
void)
101 impl_afw_stream_release(
106 #ifndef impl_afw_stream_flush
108 AFW_DECLARE_STATIC(
void)
109 impl_afw_stream_flush(
114 #ifndef impl_afw_stream_read
116 AFW_DECLARE_STATIC(
void)
124 #ifndef impl_afw_stream_write
126 AFW_DECLARE_STATIC(
void)
137 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __BASE_FILE__
139 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __FILE__
141 #ifdef AFW_IMPLEMENTATION_INF_SPECIFIER
146 #ifdef AFW_IMPLEMENTATION_INF_LABEL
147 AFW_IMPLEMENTATION_INF_LABEL = {
149 impl_afw_stream_inf = {
155 _AFW_IMPLEMENTATION_SPECIFIC_
157 impl_afw_stream_release,
158 impl_afw_stream_flush,
163 #undef _AFW_IMPLEMENTATION_ID_
164 #undef _AFW_IMPLEMENTATION_SPECIFIC_
165 #undef _AFW_IMPLEMENTATION_SOURCE_FILE_
#define AFW_BEGIN_DECLARES
Interface afw_interface opaque typedefs.
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
apr_size_t afw_size_t
size_t.
impl_afw_stream_write(const afw_stream_t *instance, const void *buffer, afw_size_t size, afw_xctx_t *xctx)
impl_afw_stream_read(const afw_stream_t *instance, const void *buffer, afw_size_t size, afw_xctx_t *xctx)
Interface afw_stream_inf_s struct.
Interface afw_stream public struct.
Interface afw_xctx public struct.