diff options
author | Michael Biebl <biebl@debian.org> | 2008-03-29 12:14:24 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2008-03-29 12:14:24 +0100 |
commit | ea79ad8dae160f0d0966b5a02fa3b73f0c3d1940 (patch) | |
tree | 564de6e12a302f99754c7c8490b6dccd1292e70f /outchannel.h | |
download | rsyslog-ea79ad8dae160f0d0966b5a02fa3b73f0c3d1940.tar.gz |
Imported Upstream version 1.18.2upstream/1.18.2
Diffstat (limited to 'outchannel.h')
-rw-r--r-- | outchannel.h | 23 |
1 files changed, 23 insertions, 0 deletions
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: + */ |