summaryrefslogtreecommitdiffstats
path: root/omshell.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-20 15:40:01 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-20 15:40:01 +0000
commit4d53a1e6a3519b6fb7f1bb201a8a735a8e73218f (patch)
tree83b2a87e0987ea0363cb0272e4510fce493ad1d0 /omshell.h
parent66214d45c76220ceb2d76ff1881baf79bee147a3 (diff)
downloadrsyslog-4d53a1e6a3519b6fb7f1bb201a8a735a8e73218f.tar.gz
rsyslog-4d53a1e6a3519b6fb7f1bb201a8a735a8e73218f.tar.xz
rsyslog-4d53a1e6a3519b6fb7f1bb201a8a735a8e73218f.zip
moved part of the shell action to its own module
Diffstat (limited to 'omshell.h')
-rw-r--r--omshell.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/omshell.h b/omshell.h
new file mode 100644
index 00000000..1ffbec44
--- /dev/null
+++ b/omshell.h
@@ -0,0 +1,34 @@
+/* omshell.c
+ * These are the definitions for the build-in shell output module.
+ *
+ * File begun on 2007-07-13 by RGerhards (extracted from syslogd.c)
+ *
+ * Copyright 2007 Rainer Gerhards and Adiscon GmbH.
+ *
+ * This program 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 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * A copy of the GPL can be found in the file "COPYING" in this distribution.
+ */
+#ifndef ACTSHELL_H_INCLUDED
+#define ACTSHELL_H_INCLUDED 1
+
+/* prototypes */
+
+int doActionShell(selector_t *f, time_t now);
+
+#endif /* #ifndef ACTSHELL_H_INCLUDED */
+/*
+ * vi:set ai:
+ */