rc.h
Go to the documentation of this file.
/* $Id: rc.h,v 1.8 2006/12/15 03:22:05 bikeracer4700 Exp $
*
* rc.h
*
* Copyright 2001-2003, Meiosys (www.meiosys.com). All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#ifndef __log4c_rc_h
#define __log4c_rc_h
#include <log4c/defs.h>
__LOG4C_BEGIN_DECLS
typedef struct
{
struct
{
int nocleanup;
int bufsize;
int debug;
int reread;
} config;
} log4c_rc_t;
LOG4C_API log4c_rc_t * const log4c_rc;
LOG4C_API int log4c_load(const char* a_filename);
LOG4C_API int log4c_rc_load(log4c_rc_t* a_rc, const char* a_filename);
/*
* Rereads any log4crc files that have changed
*/
LOG4C_API void log4c_reread(void);
__LOG4C_END_DECLS
#endif
log4c_load
int log4c_load(const char *a_filename)
Definition rc.c:383
log4c_rc_t
resource configuration object
Definition rc.h:35