mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-03 18:09:25 +00:00
CLEANUP: stream: remove many unneeded includes from stream-t.h
Plenty of includes were present there only for struct pointers resulting in them being used from many other places. The LoC reduced again by more than 1% by cleaning this.
This commit is contained in:
parent
a26be37e20
commit
172c17b21e
@ -22,24 +22,13 @@
|
||||
#ifndef _HAPROXY_STREAM_T_H
|
||||
#define _HAPROXY_STREAM_T_H
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <haproxy/api-t.h>
|
||||
#include <haproxy/channel-t.h>
|
||||
#include <haproxy/dynbuf-t.h>
|
||||
#include <haproxy/filters-t.h>
|
||||
#include <haproxy/hlua-t.h>
|
||||
#include <haproxy/http_ana-t.h>
|
||||
#include <haproxy/obj_type-t.h>
|
||||
#include <haproxy/proxy-t.h>
|
||||
#include <haproxy/queue-t.h>
|
||||
#include <haproxy/server-t.h>
|
||||
#include <haproxy/session-t.h>
|
||||
#include <haproxy/stick_table-t.h>
|
||||
#include <haproxy/stream_interface-t.h>
|
||||
#include <haproxy/task-t.h>
|
||||
#include <haproxy/vars-t.h>
|
||||
|
||||
|
||||
@ -97,6 +86,14 @@
|
||||
#define PCLI_F_PROMPT 0x4
|
||||
#define PCLI_F_PAYLOAD 0x8
|
||||
|
||||
struct hlua;
|
||||
struct proxy;
|
||||
struct pendconn;
|
||||
struct session;
|
||||
struct server;
|
||||
struct task;
|
||||
struct sockaddr_storage;
|
||||
|
||||
/* some external definitions */
|
||||
struct strm_logs {
|
||||
int logwait; /* log fields waiting to be collected : LW_* */
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <haproxy/obj_type.h>
|
||||
#include <haproxy/pool-t.h>
|
||||
#include <haproxy/queue.h>
|
||||
#include <haproxy/session.h>
|
||||
#include <haproxy/stick_table.h>
|
||||
#include <haproxy/stream-t.h>
|
||||
#include <haproxy/task-t.h>
|
||||
|
Loading…
Reference in New Issue
Block a user