From ea79ad8dae160f0d0966b5a02fa3b73f0c3d1940 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 29 Mar 2008 12:14:24 +0100 Subject: Imported Upstream version 1.18.2 --- outchannel.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 outchannel.h (limited to 'outchannel.h') diff --git a/outchannel.h b/outchannel.h new file mode 100644 index 0000000..eb12af7 --- /dev/null +++ b/outchannel.h @@ -0,0 +1,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: + */ -- cgit v1.2.3