mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
REORG: include: move counters.h to haproxy/counters-t.h
Since these are only type definitions, let's move them to counters-t.h and reserve counters.h for when functions will be needed.
This commit is contained in:
parent
7d865a5e3e
commit
167e1eb7c7
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* include/types/counters.h
|
* include/haproxy/counters-t.h
|
||||||
* This file contains structure declarations for statistics counters.
|
* This file contains structure declarations for statistics counters.
|
||||||
*
|
*
|
||||||
* Copyright 2008-2009 Krzysztof Piotr Oledzki <ole@ans.pl>
|
* Copyright 2008-2009 Krzysztof Piotr Oledzki <ole@ans.pl>
|
||||||
@ -20,8 +20,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _TYPES_COUNTERS_H
|
#ifndef _HAPROXY_COUNTERS_T_H
|
||||||
#define _TYPES_COUNTERS_H
|
#define _HAPROXY_COUNTERS_T_H
|
||||||
|
|
||||||
/* counters used by listeners and frontends */
|
/* counters used by listeners and frontends */
|
||||||
struct fe_counters {
|
struct fe_counters {
|
||||||
@ -115,7 +115,7 @@ struct be_counters {
|
|||||||
} p; /* protocol-specific stats */
|
} p; /* protocol-specific stats */
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* _TYPES_COUNTERS_H */
|
#endif /* _HAPROXY_COUNTERS_T_H */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local variables:
|
* Local variables:
|
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include <haproxy/api-t.h>
|
#include <haproxy/api-t.h>
|
||||||
#include <haproxy/chunk.h>
|
#include <haproxy/chunk.h>
|
||||||
|
#include <haproxy/counters-t.h>
|
||||||
#include <haproxy/http-t.h>
|
#include <haproxy/http-t.h>
|
||||||
#include <haproxy/list-t.h>
|
#include <haproxy/list-t.h>
|
||||||
#include <haproxy/thread.h>
|
#include <haproxy/thread.h>
|
||||||
@ -39,7 +40,6 @@
|
|||||||
#include <types/acl.h>
|
#include <types/acl.h>
|
||||||
#include <types/backend.h>
|
#include <types/backend.h>
|
||||||
#include <types/checks.h>
|
#include <types/checks.h>
|
||||||
#include <types/counters.h>
|
|
||||||
#include <types/filters.h>
|
#include <types/filters.h>
|
||||||
#include <haproxy/freq_ctr-t.h>
|
#include <haproxy/freq_ctr-t.h>
|
||||||
#include <types/listener.h>
|
#include <types/listener.h>
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
||||||
|
#include <haproxy/counters-t.h>
|
||||||
#include <haproxy/dns-t.h>
|
#include <haproxy/dns-t.h>
|
||||||
#include <haproxy/api-t.h>
|
#include <haproxy/api-t.h>
|
||||||
#include <haproxy/list-t.h>
|
#include <haproxy/list-t.h>
|
||||||
@ -34,7 +35,6 @@
|
|||||||
#include <import/eb32tree.h>
|
#include <import/eb32tree.h>
|
||||||
|
|
||||||
#include <types/connection.h>
|
#include <types/connection.h>
|
||||||
#include <types/counters.h>
|
|
||||||
#include <haproxy/freq_ctr-t.h>
|
#include <haproxy/freq_ctr-t.h>
|
||||||
#include <types/obj_type.h>
|
#include <types/obj_type.h>
|
||||||
#include <types/proxy.h>
|
#include <types/proxy.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user