summaryrefslogtreecommitdiffstats
path: root/outchannel.h
blob: 4595740775bed35dfe21e1aaed58493b3a27fa67 (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, char** pRestOfConfLine);
struct outchannel *ochFind(char *pName, int iLenName);
void ochDeleteAll(void);
void ochPrintList(void);

/*
 * vi:set ai:
 */