Instead of C files requiring it.
In preparation of libhtp rust, to minimize the final commit.
#include "suricata-common.h"
#include "app-layer-htp-file.h"
-#include "app-layer-htp-libhtp.h"
#include "app-layer-htp-range.h"
#include "app-layer-events.h"
#include "util-validate.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "app-layer-htp-xff.h"
#ifndef HAVE_MEMRCHR
#include "app-layer-frames.h"
#include <htp/htp.h>
+// Temporary include directly app-layer-htp-libhtp.h
+// This helps libhtp.rs transition by making small steps
+// app-layer-htp-libhtp.h will be removed with libhtp.rs final merge
+#include "app-layer-htp-libhtp.h"
/* default request body limit */
#define HTP_CONFIG_DEFAULT_REQUEST_BODY_LIMIT 4096U
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "app-layer-http2.h"
#include "rust.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "app-layer-smtp.h"
#include "flow.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-client-body.h"
#include "stream-tcp.h"
#include "util-profiling.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-cookie.h"
#include "stream-tcp.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-header.h"
#include "stream-tcp.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-header.h"
#include "detect-http-header-common.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "stream-tcp.h"
#include "detect-http-host.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-method.h"
#include "stream-tcp.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-header.h"
#include "stream-tcp.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-raw-header.h"
static int DetectHttpRawHeaderSetup(DetectEngineCtx *, Signature *, const char *);
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "stream-tcp.h"
#include "detect-http-request-line.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "stream-tcp.h"
#include "detect-http-response-line.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-header.h"
#include "stream-tcp.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-stat-code.h"
#include "stream-tcp-private.h"
#include "stream-tcp.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-stat-msg.h"
#include "stream-tcp-private.h"
#include "stream-tcp.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "stream-tcp.h"
#include "detect-http-ua.h"
#include "app-layer.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "detect-http-uri.h"
#include "stream-tcp.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "stream-tcp.h"
#include "app-layer-protos.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "util-classification-config.h"
#include "util-unittest.h"
#include "output.h"
#include "log-httplog.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "util-privs.h"
#include "output.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "app-layer-htp-file.h"
#include "app-layer-htp-xff.h"
#include "app-layer.h"
#include "output.h"
#include "app-layer-htp.h"
-#include "app-layer-htp-libhtp.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "util-privs.h"