log4c  1.2.4
appender_type_stream2.h
Go to the documentation of this file.
1 /*
2  *
3  * appender_type_stream.h
4  *
5  * Copyright 2001-2003, Meiosys (www.meiosys.com). All rights reserved.
6  *
7  * See the COPYING file for the terms of usage and distribution.
8  */
9 
10 #ifndef log4c_appender_type_stream2_h
11 #define log4c_appender_type_stream2_h
12 
79 #include <log4c/defs.h>
80 #include <log4c/appender.h>
81 
82 __LOG4C_BEGIN_DECLS
83 
92 
99 LOG4C_API void log4c_stream2_set_fp(log4c_appender_t* a_this, FILE *fp);
100 
108 LOG4C_API FILE * log4c_stream2_get_fp(log4c_appender_t* a_this);
109 
110 
118 LOG4C_API void log4c_stream2_set_flags(log4c_appender_t* a_this, int flags);
119 #define LOG4C_STREAM2_UNBUFFERED 0x01
120 
126 LOG4C_API int log4c_stream2_get_flags(log4c_appender_t* a_this);
127 
128 __LOG4C_END_DECLS
129 
130 #endif