/usr/include/log4c/rc.h is in liblog4c-dev 1.2.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | /* $Id$
*
* 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
/**
* @file rc.h
*
* @brief log4c resource configuration
*
**/
#include <log4c/defs.h>
__LOG4C_BEGIN_DECLS
/**
* @brief resource configuration object
*
* Attributes description:
*
* @li @c nocleanup don't perform memory cleanup in log4c library
* destructor or in log4c_fini()
* @li @c bufsize maximum logging buffer size. 0 for no limits
* @li @c debug activate log4c debugging
**/
typedef struct
{
struct
{
int nocleanup;
int bufsize;
int debug;
int reread;
} config;
} log4c_rc_t;
/**
* default log4c resource configuration object
**/
LOG4C_API log4c_rc_t * const log4c_rc;
/**
* load log4c resource configuration file
*
* @param a_filename name of file to load
**/
LOG4C_API int log4c_load(const char* a_filename);
/**
* @internal
**/
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
|