Skip to content

Commit 2994915

Browse files
committed
Finish deprecating plugin direction
1 parent 684b7c4 commit 2994915

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

audisp/audispd-pconfig.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ static const struct nv_list formats[] =
113113
void clear_pconfig(plugin_conf_t *config)
114114
{
115115
config->active = A_NO;
116-
config->direction = D_OUT;
117116
config->path = NULL;
118117
config->type = S_ALWAYS;
119118
config->args = NULL;
@@ -383,7 +382,6 @@ static int active_parser(struct nv_pair *nv, int line,
383382
static int direction_parser(struct nv_pair *nv, int line,
384383
plugin_conf_t *config)
385384
{
386-
config->direction = D_OUT;
387385
return 0;
388386
}
389387

audisp/audispd-pconfig.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@
2828
#include "libaudit.h"
2929

3030
typedef enum { A_NO, A_YES } active_t;
31-
typedef enum { D_UNSET, D_OUT } direction_t;
3231
typedef enum { S_ALWAYS, S_BUILTIN } service_t;
3332
typedef enum { F_BINARY, F_STRING } format_t;
3433

3534
typedef struct plugin_conf
3635
{
3736
active_t active; /* Current state - active or not */
38-
direction_t direction; /* in or out kind of plugin */
3937
const char *path; /* path to binary */
4038
service_t type; /* builtin or always */
4139
char **args; /* args to be passed to plugin */

0 commit comments

Comments
 (0)