log4c 1.2.4
rc.h
Go to the documentation of this file.
1/* $Id: rc.h,v 1.8 2006/12/15 03:22:05 bikeracer4700 Exp $
2 *
3 * rc.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_rc_h
11#define __log4c_rc_h
12
20#include <log4c/defs.h>
21
22__LOG4C_BEGIN_DECLS
23
34typedef struct
35{
36 struct
37 {
38 int nocleanup;
39 int bufsize;
40 int debug;
41 int reread;
42 } config;
43
45
49LOG4C_API log4c_rc_t * const log4c_rc;
50
56LOG4C_API int log4c_load(const char* a_filename);
57
61LOG4C_API int log4c_rc_load(log4c_rc_t* a_rc, const char* a_filename);
62
63/*
64 * Rereads any log4crc files that have changed
65 */
66LOG4C_API void log4c_reread(void);
67
68__LOG4C_END_DECLS
69
70#endif
int log4c_load(const char *a_filename)
Definition rc.c:383
log4c_rc_t *const log4c_rc
Definition rc.h:49
resource configuration object
Definition rc.h:35