plugins: remove conf.h from suricata-plugin.h

Remove "conf.h" from suricata-plugin.h as its not needed by that
header. However, some other files became transitively dependent on
through other includes, so fix those up.
pull/10652/head
Jason Ish 1 year ago committed by Victor Julien
parent ead09c2497
commit 7c8c9fff32

@ -39,6 +39,7 @@
#include "util-validate.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "conf.h"
/**
* \brief Functions to decode ERSPAN Type I and II packets

@ -26,6 +26,7 @@
#include "defrag-config.h"
#include "util-misc.h"
#include "util-radix-tree.h"
#include "conf.h"
static SCRadixTree *defrag_tree = NULL;

@ -31,6 +31,7 @@
#include "util-checksum.h"
#include "runmode-unix-socket.h"
#include "suricata.h"
#include "conf.h"
extern uint16_t max_pending_packets;
PcapFileGlobalVars pcap_g;

@ -23,8 +23,6 @@
#include "queue.h"
#include "conf.h"
/**
* The size of the data chunk inside each packet structure a plugin
* has for private data (Packet->plugin_v).

@ -25,6 +25,7 @@
#define SURICATA_UTIL_EBPF_H
#include "flow-bypass.h"
#include "conf.h"
#ifdef HAVE_PACKET_EBPF

@ -26,6 +26,7 @@
#include "util-misc.h"
#include "stream-tcp-reassemble.h"
#include "action-globals.h"
#include "conf.h"
enum ExceptionPolicy g_eps_master_switch = EXCEPTION_POLICY_NOT_SET;
/** true if exception policy was defined in config */

@ -33,6 +33,7 @@
#include "util-macset.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "conf.h"
typedef uint8_t MacAddr[6];
typedef enum {

@ -21,6 +21,7 @@
#include "runmodes.h"
#include "util-plugin.h"
#include "util-debug.h"
#include "conf.h"
#ifdef HAVE_PLUGINS

Loading…
Cancel
Save