00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __log4c_rc_h
00011 #define __log4c_rc_h
00012
00020 #include <log4c/defs.h>
00021
00022 __LOG4C_BEGIN_DECLS
00023
00034 typedef struct
00035 {
00036 struct
00037 {
00038 int nocleanup;
00039 int bufsize;
00040 int debug;
00041 int reread;
00042 } config;
00043
00044 } log4c_rc_t;
00045
00049 LOG4C_API log4c_rc_t * const log4c_rc;
00050
00056 LOG4C_API int log4c_load(const char* a_filename);
00057
00061 LOG4C_API int log4c_rc_load(log4c_rc_t* a_rc, const char* a_filename);
00062
00063
00064
00065
00066 LOG4C_API void log4c_reread(void);
00067
00068 __LOG4C_END_DECLS
00069
00070 #endif