REORG: include: move payload.h to haproxy/payload.h

There's no type file, it only contains fetch_rdp_cookie_name() and
val_payload_lv() which probably ought to move somewhere else instead
of staying there.
This commit is contained in:
Willy Tarreau 2020-06-04 15:13:30 +02:00
parent 2cd5809f94
commit 469509b39e
4 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
/*
* include/proto/payload.h
* include/haproxy/payload.h
* Definitions for payload-based sample fetches and ACLs
*
* Copyright (C) 2000-2013 Willy Tarreau - w@1wt.eu
@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _PROTO_PROTO_PAYLOAD_H
#define _PROTO_PROTO_PAYLOAD_H
#ifndef _HAPROXY_PAYLOAD_H
#define _HAPROXY_PAYLOAD_H
#include <haproxy/api.h>
#include <types/sample.h>
@ -29,7 +29,7 @@
int fetch_rdp_cookie_name(struct stream *s, struct sample *smp, const char *cname, int clen);
int val_payload_lv(struct arg *arg, char **err_msg);
#endif /* _PROTO_PROTO_PAYLOAD_H */
#endif /* _HAPROXY_PAYLOAD_H */
/*
* Local variables:

View File

@ -30,6 +30,7 @@
#include <haproxy/lb_fwlc.h>
#include <haproxy/lb_fwrr.h>
#include <haproxy/obj_type.h>
#include <haproxy/payload.h>
#include <haproxy/ticks.h>
#include <haproxy/time.h>
#include <haproxy/namespace.h>
@ -43,7 +44,6 @@
#include <proto/checks.h>
#include <proto/lb_map.h>
#include <proto/log.h>
#include <proto/payload.h>
#include <haproxy/protocol.h>
#include <proto/http_ana.h>
#include <proto/proto_tcp.h>

View File

@ -36,6 +36,7 @@
#include <haproxy/map.h>
#include <haproxy/obj_type.h>
#include <haproxy/pattern.h>
#include <haproxy/payload.h>
#include <haproxy/tools.h>
#include <types/cli.h>
@ -50,7 +51,6 @@
#include <proto/stats.h>
#include <proto/http_fetch.h>
#include <proto/queue.h>
#include <proto/payload.h>
#include <proto/http_ana.h>
#include <proto/sample.h>
#include <proto/server.h>

View File

@ -15,13 +15,13 @@
#include <haproxy/api.h>
#include <haproxy/net_helper.h>
#include <haproxy/payload.h>
#include <haproxy/pattern.h>
#include <haproxy/htx.h>
#include <proto/acl.h>
#include <haproxy/arg.h>
#include <proto/channel.h>
#include <proto/connection.h>
#include <proto/payload.h>
#include <proto/sample.h>
#include <proto/http_ana.h>