CLEANUP: remove some unneeded includes from applet-t.h

This file includes streams, proxies, Lua just for some definitions of
structures for which we only have a pointer. Let's drop this. That's
responsible for 0.2% of all the lines of code.
This commit is contained in:
Willy Tarreau 2021-10-06 08:54:05 +02:00
parent dced3ebb4a
commit fd1c17ff46

View File

@ -26,16 +26,15 @@
#include <haproxy/buf-t.h> #include <haproxy/buf-t.h>
#include <haproxy/dynbuf-t.h> #include <haproxy/dynbuf-t.h>
#include <haproxy/freq_ctr-t.h> #include <haproxy/freq_ctr-t.h>
#include <haproxy/hlua-t.h>
#include <haproxy/obj_type-t.h> #include <haproxy/obj_type-t.h>
#include <haproxy/proxy-t.h>
#include <haproxy/stream-t.h>
#include <haproxy/xref-t.h> #include <haproxy/xref-t.h>
/* flags for appctx->state */ /* flags for appctx->state */
#define APPLET_WANT_DIE 0x01 /* applet was running and requested to die */ #define APPLET_WANT_DIE 0x01 /* applet was running and requested to die */
struct appctx; struct appctx;
struct stream;
struct proxy;
/* Applet descriptor */ /* Applet descriptor */
struct applet { struct applet {