10 #ifndef log4c_layout_h
11 #define log4c_layout_h
25 #include <log4c/defs.h>
31 struct __log4c_layout;
106 LOG4C_API
const char* log4c_layout_get_name(
const log4c_layout_t* a_layout);
131 LOG4C_API
void* log4c_layout_get_udata(
const log4c_layout_t* a_layout);
149 LOG4C_API
const char* log4c_layout_format(
158 LOG4C_API
void log4c_layout_print(
166 LOG4C_API
void log4c_layout_types_print(FILE *fp);
179 # define log4c_layout_type_define(a_type) \
180 typedef int log4c_layout_type_define_##a_type __attribute__((deprecated)); \
181 static log4c_layout_type_define_##a_type __unsused_var __attribute__((unused));
183 # define log4c_layout_type_define(a_type)
190 LOG4C_API
struct __sd_factory* log4c_layout_factory;