diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-06-22 14:56:47 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-06-22 14:56:47 +0000 |
commit | 1e640499c09d6e010d1476e92c3932864ca97ced (patch) | |
tree | 68e15b1208aa5e6fa299f64f9e3a6d67a0f447a2 /outchannel.h | |
parent | 6f6387ab8d99d2ba5ecd5c953f36c995bc5082ab (diff) | |
download | rsyslog-1e640499c09d6e010d1476e92c3932864ca97ced.tar.gz rsyslog-1e640499c09d6e010d1476e92c3932864ca97ced.tar.xz rsyslog-1e640499c09d6e010d1476e92c3932864ca97ced.zip |
this looks like 0.9.0 - even man pages are done ;)
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 00000000..45957407 --- /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, char** pRestOfConfLine); +struct outchannel *ochFind(char *pName, int iLenName); +void ochDeleteAll(void); +void ochPrintList(void); + +/* + * vi:set ai: + */ |