appender_type_rollingfile.h

Go to the documentation of this file.
00001 /* $Id: appender_type_rollingfile.h
00002  *
00003  * appender_type_rollingfile.h
00004  * 
00005  *
00006  * See the COPYING file for the terms of usage and distribution.
00007  */
00008 
00009 #ifndef log4c_appender_type_rollingfile_h
00010 #define log4c_appender_type_rollingfile_h
00011 
00050 #include <log4c/defs.h>
00051 #include <log4c/appender.h>
00052 #include <log4c/rollingpolicy.h>
00053 
00054 __LOG4C_BEGIN_DECLS
00055 
00063 LOG4C_API const log4c_appender_type_t log4c_appender_type_rollingfile;
00064 
00069 LOG4C_API rollingfile_udata_t *rollingfile_make_udata(void);
00070 
00077 LOG4C_API int rollingfile_udata_set_logdir(
00078                 rollingfile_udata_t *rfudatap,
00079                 char* logdir);
00086 LOG4C_API int rollingfile_udata_set_files_prefix(
00087               rollingfile_udata_t *rfudatap, char * prefix);
00094 LOG4C_API int rollingfile_udata_set_policy(rollingfile_udata_t* rfudatap,
00095                                       log4c_rollingpolicy_t* policyp);                       
00101 LOG4C_API const char* rollingfile_udata_get_logdir(rollingfile_udata_t* rfudatap);
00102               
00108 LOG4C_API const char* rollingfile_udata_get_files_prefix(
00109                             rollingfile_udata_t* rfudatap);
00110 
00116 LOG4C_API long  rollingfile_get_current_file_size( rollingfile_udata_t* rfudatap);
00117 
00118 __LOG4C_END_DECLS
00119 
00120 #endif

Generated on Fri Nov 16 21:32:00 2007 for log4c by  doxygen 1.5.3-20071008