74 #ifdef __AFW_WRITER_IMPL_DECLARES_H__
75 #ifndef AFW_WRITER_INF_ONLY
76 #error "afw_writer_impl_declares.h already included."
79 #ifndef __AFW_WRITER_IMPL_DECLARES_H__
80 #ifdef AFW_WRITER_INF_ONLY
81 #error "afw_writer_impl_declares.h must be included before AFW_WRITER_INF_ONLY."
83 #define __AFW_WRITER_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_WRITER_INF_ONLY
98 #ifndef impl_afw_writer_release
100 AFW_DECLARE_STATIC(
void)
101 impl_afw_writer_release(
106 #ifndef impl_afw_writer_flush
108 AFW_DECLARE_STATIC(
void)
109 impl_afw_writer_flush(
114 #ifndef impl_afw_writer_write
116 AFW_DECLARE_STATIC(
void)
124 #ifndef impl_afw_writer_write_eol
126 AFW_DECLARE_STATIC(
void)
132 #ifndef impl_afw_writer_increment_indent
134 AFW_DECLARE_STATIC(
void)
135 impl_afw_writer_increment_indent(
140 #ifndef impl_afw_writer_decrement_indent
142 AFW_DECLARE_STATIC(
void)
143 impl_afw_writer_decrement_indent(
151 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __BASE_FILE__
153 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __FILE__
155 #ifdef AFW_IMPLEMENTATION_INF_SPECIFIER
160 #ifdef AFW_IMPLEMENTATION_INF_LABEL
161 AFW_IMPLEMENTATION_INF_LABEL = {
163 impl_afw_writer_inf = {
169 _AFW_IMPLEMENTATION_SPECIFIC_
171 impl_afw_writer_release,
172 impl_afw_writer_flush,
175 impl_afw_writer_increment_indent,
176 impl_afw_writer_decrement_indent
179 #undef _AFW_IMPLEMENTATION_ID_
180 #undef _AFW_IMPLEMENTATION_SPECIFIC_
181 #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_writer_write(const afw_writer_t *instance, const void *buffer, afw_size_t size, afw_xctx_t *xctx)
impl_afw_writer_write_eol(const afw_writer_t *instance, afw_xctx_t *xctx)
Interface afw_writer_inf_s struct.
Interface afw_writer public struct.
Interface afw_xctx public struct.