summaryrefslogtreecommitdiffstats
path: root/tools/pmrfc5424.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-03 18:44:02 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-03 18:44:02 +0100
commitb1db196953713dd09c499a3edf81347bd903c19e (patch)
tree7c4d1d4a92337f0cd1538c7cd9bc77904901ce8d /tools/pmrfc5424.h
parent6f511cecfae3592f271627ebcb41e6a8c4f831e9 (diff)
downloadrsyslog-b1db196953713dd09c499a3edf81347bd903c19e.tar.gz
rsyslog-b1db196953713dd09c499a3edf81347bd903c19e.tar.xz
rsyslog-b1db196953713dd09c499a3edf81347bd903c19e.zip
one step closer to dynamically loadable parsers
This is a milestone commit, which adds new code that breaks nothing, but also does not add any visible change. Just prep work...
Diffstat (limited to 'tools/pmrfc5424.h')
-rw-r--r--tools/pmrfc5424.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/pmrfc5424.h b/tools/pmrfc5424.h
new file mode 100644
index 00000000..df2a1c81
--- /dev/null
+++ b/tools/pmrfc5424.h
@@ -0,0 +1,33 @@
+/* pmrfc5424.h
+ * These are the definitions for the RFCC5424 parser module.
+ *
+ * File begun on 2009-11-03 by RGerhards
+ *
+ * Copyright 2009 Rainer Gerhards and Adiscon GmbH.
+ *
+ * This file is part of rsyslog.
+ *
+ * Rsyslog is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Rsyslog is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Rsyslog. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * A copy of the GPL can be found in the file "COPYING" in this distribution.
+ */
+#ifndef PMRFC54254_H_INCLUDED
+#define PMRFC54254_H_INCLUDED 1
+
+/* prototypes */
+rsRetVal modInitpmrfc5424(int iIFVersRequested __attribute__((unused)), int *ipIFVersProvided, rsRetVal (**pQueryEtryPt)(), rsRetVal (*pHostQueryEtryPt)(uchar*, rsRetVal (**)()), modInfo_t*);
+
+#endif /* #ifndef PMRFC54254_H_INCLUDED */
+/* vi:set ai:
+ */