/*
- * include/types/map.h
+ * include/haproxy/map-t.h
* This file provides structures and types for MAPs.
*
* Copyright (C) 2000-2012 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_MAP_H
-#define _TYPES_MAP_H
+#ifndef _HAPROXY_MAP_T_H
+#define _HAPROXY_MAP_T_H
#include <haproxy/pattern-t.h>
#include <types/sample.h>
int do_free; /* set if <pat> is the original pat and must be freed */
};
-#endif /* _TYPES_MAP_H */
+#endif /* _HAPROXY_MAP_T_H */
/*
- * include/proto/map.h
+ * include/haproxy/map.h
* This file provides structures and types for pattern matching.
*
* Copyright (C) 2000-2013 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _PROTO_MAP_H
-#define _PROTO_MAP_H
+#ifndef _HAPROXY_MAP_H
+#define _HAPROXY_MAP_H
-#include <types/map.h>
+#include <haproxy/map-t.h>
+#include <types/sample.h>
/* maps output sample parser */
int map_parse_ip(const char *text, struct sample_data *data);
int sample_load_map(struct arg *arg, struct sample_conv *conv,
const char *file, int line, char **err);
-#endif /* _PROTO_PATTERN_H */
+#endif /* _HAPROXY_MAP_H */
#include <proto/log.h>
#include <haproxy/pipe.h>
#include <haproxy/protocol.h>
-#include <proto/map.h>
#include <proto/proxy.h>
#include <proto/sample.h>
#include <proto/session.h>
#include <haproxy/hlua.h>
#include <haproxy/hlua_fcn.h>
#include <haproxy/http_rules.h>
+#include <haproxy/map.h>
#include <haproxy/obj_type.h>
#include <haproxy/pattern.h>
#include <haproxy/tools.h>
#include <proto/connection.h>
#include <proto/stats.h>
#include <proto/http_fetch.h>
-#include <proto/map.h>
#include <proto/queue.h>
#include <proto/payload.h>
#include <proto/http_ana.h>
#include <stdio.h>
#include <haproxy/api.h>
+#include <haproxy/map.h>
#include <haproxy/pattern.h>
#include <haproxy/regex.h>
#include <haproxy/tools.h>
#include <types/applet.h>
#include <types/cli.h>
#include <types/global.h>
-#include <types/map.h>
#include <types/stats.h>
#include <proto/applet.h>
#include <haproxy/arg.h>
#include <proto/cli.h>
#include <proto/log.h>
-#include <proto/map.h>
#include <proto/stream_interface.h>
#include <proto/sample.h>
#include <haproxy/pool.h>
#include <haproxy/list.h>
#include <haproxy/listener.h>
+#include <haproxy/map-t.h>
#include <haproxy/pattern-t.h>
#include <haproxy/tools.h>
#include <haproxy/ticks.h>
#include <haproxy/freq_ctr.h>
#include <proto/log.h>
#include <haproxy/pipe.h>
-#include <proto/map.h>
#include <proto/proxy.h>
#include <proto/sample.h>
#include <proto/session.h>