00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef log4c_appender_type_stream2_h
00011 #define log4c_appender_type_stream2_h
00012
00079 #include <log4c/defs.h>
00080 #include <log4c/appender.h>
00081
00082 __LOG4C_BEGIN_DECLS
00083
00091 LOG4C_API const log4c_appender_type_t log4c_appender_type_stream2;
00092
00099 LOG4C_API void log4c_stream2_set_fp(log4c_appender_t* a_this, FILE *fp);
00100
00108 LOG4C_API FILE * log4c_stream2_get_fp(log4c_appender_t* a_this);
00109
00110
00118 LOG4C_API void log4c_stream2_set_flags(log4c_appender_t* a_this, int flags);
00119 #define LOG4C_STREAM2_UNBUFFERED 0x01
00120
00126 LOG4C_API int log4c_stream2_get_flags(log4c_appender_t* a_this);
00127
00128 __LOG4C_END_DECLS
00129
00130 #endif