aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/audit/audisp/audispd-pconfig.h
diff options
context:
space:
mode:
authorAshlee Young <ashlee@wildernessvoice.com>2016-01-20 01:10:01 +0000
committerAshlee Young <ashlee@wildernessvoice.com>2016-01-20 01:10:11 +0000
commit19d701ddf07d855128ded0cf2b573ce468e3bdd6 (patch)
tree0edcd3461ca903c76e431bb7c6348c42a0f12488 /framework/src/audit/audisp/audispd-pconfig.h
parentfac6fbefbfad1cf837ddd88bc0d330559c8eb6f9 (diff)
Removing Suricata and Audit from source repo, and updated build.sh to avoid building suricata. Will re-address this in C release via tar balls.
Change-Id: I3710076f8b7f3313cb3cb5260c4eb0a6834d4f6e Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
Diffstat (limited to 'framework/src/audit/audisp/audispd-pconfig.h')
-rw-r--r--framework/src/audit/audisp/audispd-pconfig.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/framework/src/audit/audisp/audispd-pconfig.h b/framework/src/audit/audisp/audispd-pconfig.h
deleted file mode 100644
index 05216352..00000000
--- a/framework/src/audit/audisp/audispd-pconfig.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/* audispd-pconfig.h --
- * Copyright 2007,2013 Red Hat Inc., Durham, North Carolina.
- * All Rights Reserved.
- *
- * 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
- *
- * Authors:
- * Steve Grubb <sgrubb@redhat.com>
- *
- */
-
-#ifndef AUDISPD_PCONFIG_H
-#define AUDISPD_PCONFIG_H
-
-#include <sys/types.h>
-#include "libaudit.h"
-#define MAX_PLUGIN_ARGS 2
-
-typedef enum { A_NO, A_YES } active_t;
-typedef enum { D_UNSET, D_IN, D_OUT } direction_t;
-typedef enum { S_ALWAYS, S_BUILTIN, S_AF_UNIX, S_SYSLOG } service_t;
-typedef enum { F_BINARY, F_STRING } format_t;
-
-typedef struct plugin_conf
-{
- active_t active; /* Current state - active or not */
- direction_t direction; /* in or out kind of plugin */
- const char *path; /* path to binary */
- service_t type; /* builtin or always */
- char *args[MAX_PLUGIN_ARGS+2]; /* args to be passed to plugin */
- format_t format; /* Event format */
- int plug_pipe[2]; /* Communication pipe for events */
- pid_t pid; /* Used to signal children */
- ino_t inode; /* Use to see if new binary was installed */
- int checked; /* Used for internal housekeeping on HUP */
- char *name; /* Used to distinguish plugins for HUP */
- unsigned restart_cnt; /* Number of times its crashed */
-} plugin_conf_t;
-
-void clear_pconfig(plugin_conf_t *config);
-int load_pconfig(plugin_conf_t *config, char *file);
-void free_pconfig(plugin_conf_t *config);
-
-#endif
-