summaryrefslogtreecommitdiffstats
path: root/outchannel.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-06-22 14:56:47 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-06-22 14:56:47 +0000
commit1e640499c09d6e010d1476e92c3932864ca97ced (patch)
tree68e15b1208aa5e6fa299f64f9e3a6d67a0f447a2 /outchannel.h
parent6f6387ab8d99d2ba5ecd5c953f36c995bc5082ab (diff)
downloadrsyslog-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.h23
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:
+ */