summaryrefslogtreecommitdiffstats
path: root/outchannel.h
blob: eb12af7ac403920e94d5c904d142c8f12e24b9be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* This is the header for the output channel code of rsyslog.
 * Please see syslogd.c for license information.
 * This code is placed under the GPL.
 * begun 2005-06-21 rgerhards
 */
struct outchannel {
	struct outchannel *pNext;
	char *pszName;
	int iLenName;
	char *pszFileTemplate;
	off_t	uSizeLimit;
	char *cmdOnSizeLimit;
};

struct outchannel* ochConstruct(void);
struct outchannel *ochAddLine(char* pName, unsigned char** pRestOfConfLine);
struct outchannel *ochFind(char *pName, int iLenName);
void ochDeleteAll(void);
void ochPrintList(void);

/*
 * vi:set ai:
 */