No change was necessary. It still includes lots of types/* files.
#include <import/eb32tree.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/list-t.h>
#include <haproxy/thread.h>
#include <types/connection.h>
-#include <types/obj_type.h>
#include <haproxy/proto_udp-t.h>
#include <types/proxy.h>
#include <types/server.h>
/*
- * include/types/obj_type.h
+ * include/haproxy/obj_type-t.h
* This file declares some object types for use in various structures.
*
* Copyright (C) 2000-2013 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_OBJ_TYPE_H
-#define _TYPES_OBJ_TYPE_H
+#ifndef _HAPROXY_OBJ_TYPE_T_H
+#define _HAPROXY_OBJ_TYPE_T_H
/* The principle is to be able to change the type of a pointer by pointing
* it directly to an object type. The object type indicates the format of the
OBJ_TYPE_ENTRIES /* last one : number of entries */
} __attribute__((packed)) ;
-#endif /* _TYPES_OBJ_TYPE_H */
+#endif /* _HAPROXY_OBJ_TYPE_T_H */
/*
* Local variables:
/*
- * include/proto/obj_type.h
+ * include/haproxy/obj_type.h
* This file contains function prototypes to manipulate object types
*
* Copyright (C) 2000-2013 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _PROTO_OBJ_TYPE_H
-#define _PROTO_OBJ_TYPE_H
+#ifndef _HAPROXY_OBJ_TYPE_H
+#define _HAPROXY_OBJ_TYPE_H
#include <haproxy/api.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/pool.h>
#include <types/applet.h>
#include <types/connection.h>
#include <types/listener.h>
-#include <types/obj_type.h>
#include <types/proxy.h>
#include <types/server.h>
#include <types/stream.h>
}
}
-#endif /* _PROTO_OBJ_TYPE_H */
+#endif /* _HAPROXY_OBJ_TYPE_H */
/*
* Local variables:
#ifndef _PROTO_CONNECTION_H
#define _PROTO_CONNECTION_H
-#include <haproxy/api.h>
#include <import/ist.h>
+#include <haproxy/api.h>
+#include <haproxy/obj_type.h>
#include <haproxy/pool.h>
#include <types/connection.h>
#include <types/listener.h>
#include <haproxy/fd.h>
-#include <proto/obj_type.h>
#include <proto/session.h>
#include <proto/task.h>
#define _PROTO_SESSION_H
#include <haproxy/api.h>
+#include <haproxy/obj_type.h>
#include <haproxy/pool.h>
#include <types/global.h>
#include <types/session.h>
-#include <proto/obj_type.h>
#include <proto/stick_table.h>
#include <proto/server.h>
#include <types/stream.h>
#include <haproxy/fd.h>
#include <haproxy/freq_ctr.h>
-#include <proto/obj_type.h>
+#include <haproxy/obj_type.h>
#include <proto/queue.h>
#include <proto/stick_table.h>
#include <proto/task.h>
#include <haproxy/dynbuf-t.h>
#include <haproxy/freq_ctr-t.h>
#include <haproxy/hlua-t.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/xref-t.h>
-#include <types/obj_type.h>
#include <types/proxy.h>
#include <types/stream.h>
#include <import/ist.h>
#include <haproxy/list-t.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/regex-t.h>
#include <haproxy/buf-t.h>
#include <types/connection.h>
-#include <types/obj_type.h>
#include <types/proxy.h>
#include <types/sample.h>
#include <types/server.h>
#include <import/ist.h>
#include <types/listener.h>
-#include <types/obj_type.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/port_range-t.h>
#include <haproxy/protocol-t.h>
#endif
#include <haproxy/list-t.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/thread.h>
-#include <types/obj_type.h>
#include <import/eb32tree.h>
/* Some pointer types reference below */
#include <haproxy/counters-t.h>
#include <haproxy/http-t.h>
#include <haproxy/list-t.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/thread.h>
#include <import/eb32tree.h>
#include <haproxy/freq_ctr-t.h>
#include <types/listener.h>
#include <types/log.h>
-#include <types/obj_type.h>
#include <types/sample.h>
#include <types/server.h>
#include <types/stick_table.h>
#include <haproxy/dns-t.h>
#include <haproxy/api-t.h>
#include <haproxy/list-t.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/thread.h>
#include <haproxy/openssl-compat.h>
#include <types/connection.h>
#include <haproxy/freq_ctr-t.h>
-#include <types/obj_type.h>
#include <types/proxy.h>
#include <types/queue.h>
#include <types/ssl_sock.h>
#include <haproxy/api-t.h>
#include <haproxy/list-t.h>
+#include <haproxy/obj_type-t.h>
-#include <types/obj_type.h>
#include <types/proxy.h>
#include <types/stick_table.h>
#include <types/task.h>
#include <haproxy/dynbuf-t.h>
#include <haproxy/hlua-t.h>
#include <haproxy/list-t.h>
+#include <haproxy/obj_type-t.h>
#include <types/channel.h>
#include <types/filters.h>
-#include <types/obj_type.h>
#include <types/http_ana.h>
#include <types/proxy.h>
#include <types/queue.h>
#define _TYPES_STREAM_INTERFACE_H
#include <haproxy/api-t.h>
-#include <types/obj_type.h>
+#include <haproxy/obj_type-t.h>
/* A stream interface must have its own errors independently of the buffer's,
* so that applications can rely on what the buffer reports while the stream
#include <haproxy/action.h>
#include <haproxy/api.h>
+#include <haproxy/obj_type.h>
#include <haproxy/pool.h>
#include <haproxy/list.h>
#include <haproxy/tools.h>
#include <proto/log.h>
-#include <proto/obj_type.h>
#include <proto/proxy.h>
#include <proto/stick_table.h>
#include <proto/task.h>
#include <haproxy/http.h>
#include <haproxy/http_htx.h>
#include <haproxy/htx.h>
+#include <haproxy/obj_type.h>
#include <haproxy/ticks.h>
#include <haproxy/time.h>
#include <haproxy/namespace.h>
#include <proto/lb_map.h>
#include <proto/log.h>
#include <proto/mux_pt.h>
-#include <proto/obj_type.h>
#include <proto/payload.h>
#include <haproxy/protocol.h>
#include <proto/http_ana.h>
#include <haproxy/errors.h>
#include <haproxy/frontend.h>
#include <haproxy/mailers-t.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/pool.h>
#include <haproxy/tools.h>
#include <haproxy/time.h>
#include <types/filters.h>
#include <types/global.h>
-#include <types/obj_type.h>
#include <types/peers.h>
#include <types/stats.h>
#include <haproxy/h1.h>
#include <haproxy/hlua.h>
#include <haproxy/hlua_fcn.h>
+#include <haproxy/obj_type.h>
#include <haproxy/tools.h>
#include <types/cli.h>
#include <proto/http_fetch.h>
#include <proto/http_rules.h>
#include <proto/map.h>
-#include <proto/obj_type.h>
#include <proto/queue.h>
#include <proto/pattern.h>
#include <proto/payload.h>
#include <haproxy/http.h>
#include <haproxy/http_htx.h>
#include <haproxy/htx.h>
+#include <haproxy/obj_type.h>
#include <haproxy/pool.h>
#include <haproxy/tools.h>
#include <haproxy/version.h>
#include <proto/connection.h>
#include <proto/http_fetch.h>
#include <proto/log.h>
-#include <proto/obj_type.h>
#include <proto/http_ana.h>
#include <proto/sample.h>
#include <proto/stream.h>
#include <haproxy/dict.h>
#include <haproxy/frontend.h>
#include <haproxy/net_helper.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/time.h>
#include <haproxy/tools.h>
#include <haproxy/thread.h>
#include <types/global.h>
#include <types/listener.h>
-#include <types/obj_type.h>
#include <types/peers.h>
#include <types/stats.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/errors.h>
+#include <haproxy/obj_type-t.h>
#include <haproxy/pool.h>
#include <haproxy/time.h>
#include <haproxy/capture-t.h>
#include <types/cli.h>
#include <types/global.h>
-#include <types/obj_type.h>
#include <types/peers.h>
#include <types/stats.h>
#include <haproxy/api.h>
#include <haproxy/buf-t.h>
+#include <haproxy/obj_type.h>
#include <haproxy/openssl-compat.h>
#include <haproxy/tools.h>
#include <proto/acl.h>
#include <haproxy/arg.h>
-#include <proto/obj_type.h>
#include <proto/ssl_sock.h>
#include <proto/ssl_utils.h>
#include <proto/sample.h>