74 #ifdef __AFW_LOG_IMPL_DECLARES_H__
75 #ifndef AFW_LOG_INF_ONLY
76 #error "afw_log_impl_declares.h already included."
79 #ifndef __AFW_LOG_IMPL_DECLARES_H__
80 #ifdef AFW_LOG_INF_ONLY
81 #error "afw_log_impl_declares.h must be included before AFW_LOG_INF_ONLY."
83 #define __AFW_LOG_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_LOG_INF_ONLY
98 #ifndef impl_afw_log_destroy
100 AFW_DECLARE_STATIC(
void)
101 impl_afw_log_destroy(
106 #ifndef impl_afw_log_set_own_mask
108 AFW_DECLARE_STATIC(
void)
109 impl_afw_log_set_own_mask(
115 #ifndef impl_afw_log_write
117 AFW_DECLARE_STATIC(
void)
129 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __BASE_FILE__
131 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __FILE__
133 #ifdef AFW_IMPLEMENTATION_INF_SPECIFIER
138 #ifdef AFW_IMPLEMENTATION_INF_LABEL
139 AFW_IMPLEMENTATION_INF_LABEL = {
147 _AFW_IMPLEMENTATION_SPECIFIC_
149 impl_afw_log_destroy,
150 impl_afw_log_set_own_mask,
154 #undef _AFW_IMPLEMENTATION_ID_
155 #undef _AFW_IMPLEMENTATION_SPECIFIC_
156 #undef _AFW_IMPLEMENTATION_SOURCE_FILE_
#define AFW_BEGIN_DECLARES
Interface afw_interface opaque typedefs.
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
int afw_log_priority_mask_t
afw_utf8_octet_t afw_utf8_z_t
NFC normalized UTF-8 null terminated string.
enum afw_log_priority_e afw_log_priority_t
Log levels. See afw_log.h for more information.
impl_afw_log_write(const afw_log_t *instance, afw_log_priority_t priority, const afw_utf8_z_t *source_z, const afw_utf8_t *message, afw_xctx_t *xctx)
Interface afw_log_inf_s struct.
Interface afw_log public struct.
NFC normalized UTF-8 string.
Interface afw_xctx public struct.