app-layer: don't include decode.h from app-layer-frames.h

Including decode.h pulls inline functions that use SCLogDebug and SCLogError
into the bindgen input, but util-debug.h hides those macros from bindgen,
breaking "make update-bindings". Only forward declarations are needed.
pull/16404/head
Jason Ish 3 weeks ago committed by Victor Julien
parent 5f8d1beddf
commit cffd9cd62d

@ -24,7 +24,11 @@
#ifndef SURICATA_APP_LAYER_FRAMES_H
#define SURICATA_APP_LAYER_FRAMES_H
#include "decode.h"
#include "app-layer-protos.h"
typedef struct Flow_ Flow;
typedef struct Packet_ Packet;
typedef struct StreamSlice StreamSlice;
/** special value for matching any type */
#define FRAME_ANY_TYPE 62

Loading…
Cancel
Save