/*
- * include/types/acl.h
+ * include/haproxy/acl-t.h
* This file provides structures and types for ACLs.
*
- * Copyright (C) 2000-2012 Willy Tarreau - w@1wt.eu
+ * Copyright (C) 2000-2020 Willy Tarreau - w@1wt.eu
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_ACL_H
-#define _TYPES_ACL_H
+#ifndef _HAPROXY_ACL_T_H
+#define _HAPROXY_ACL_T_H
-#include <haproxy/auth-t.h>
+#include <import/ebmbtree.h>
+
+#include <haproxy/list-t.h>
#include <haproxy/pattern-t.h>
#include <haproxy/api-t.h>
-#include <haproxy/list-t.h>
-#include <haproxy/arg-t.h>
#include <types/proxy.h>
#include <types/server.h>
-#include <import/ebmbtree.h>
/* ACL test result.
*
ACL_COND_UNLESS, /* negative condition (after 'unless') */
};
-/* some dummy declarations to silent the compiler */
-struct proxy;
-struct stream;
-
/*
* ACL keyword: Associates keywords with parsers, methods to retrieve the value and testers.
*/
int line; /* line in the config file where the condition is declared */
};
-#endif /* _TYPES_ACL_H */
+#endif /* _HAPROXY_ACL_T_H */
/*
* Local variables:
/*
- * include/proto/acl.h
+ * include/haproxy/acl.h
* This file provides interface definitions for ACL manipulation.
*
* Copyright (C) 2000-2013 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _PROTO_ACL_H
-#define _PROTO_ACL_H
+#ifndef _HAPROXY_ACL_H
+#define _HAPROXY_ACL_H
+#include <haproxy/acl-t.h>
+#include <haproxy/arg-t.h>
#include <haproxy/api.h>
-#include <types/acl.h>
+
+struct stream;
/*
* FIXME: we need destructor functions too !
int init_acl();
-#endif /* _PROTO_ACL_H */
+#endif /* _HAPROXY_ACL_H */
/*
* Local variables:
#ifndef _TYPES_HTTP_FCGI_H
#define _TYPES_HTTP_FCGI_H
+#include <haproxy/acl-t.h>
#include <haproxy/api-t.h>
#include <import/ist.h>
#include <haproxy/fcgi.h>
#include <import/ebistree.h>
-#include <types/acl.h>
#include <types/filters.h>
#define FCGI_APP_FL_KEEP_CONN 0x00000001 /* Keep the connection alive */
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <haproxy/arg-t.h>
#include <haproxy/api-t.h>
#include <haproxy/check-t.h>
#include <haproxy/chunk.h>
#include <import/eb32tree.h>
#include <import/ebistree.h>
-#include <types/acl.h>
+#include <haproxy/acl-t.h>
#include <types/backend.h>
#include <types/filters.h>
#include <haproxy/freq_ctr-t.h>
#include <stdio.h>
#include <string.h>
+#include <haproxy/acl.h>
#include <haproxy/auth.h>
#include <haproxy/api.h>
#include <haproxy/list.h>
#include <haproxy/global.h>
-#include <proto/acl.h>
#include <haproxy/arg.h>
#include <proto/channel.h>
#include <proto/log.h>
#include <haproxy/pattern-t.h>
#include <haproxy/thread.h>
-#include <proto/acl.h>
#include <proto/log.h>
struct userlist *userlist = NULL; /* list of all existing userlists */
#include <ctype.h>
#include <sys/types.h>
+#include <haproxy/acl.h>
#include <haproxy/api.h>
#include <haproxy/check.h>
#include <haproxy/frontend.h>
#include <haproxy/global.h>
-#include <proto/acl.h>
#include <haproxy/arg.h>
#include <proto/backend.h>
#include <proto/channel.h>
#include <common/cfgparse.h>
#include <common/uri_auth.h>
+#include <haproxy/acl.h>
#include <haproxy/capture-t.h>
#include <haproxy/check.h>
#include <haproxy/compression-t.h>
#include <haproxy/sample.h>
#include <types/stats.h>
-#include <proto/acl.h>
#include <haproxy/protocol.h>
#include <proto/proxy.h>
#include <proto/server.h>
#include <fcntl.h>
#include <unistd.h>
+#include <haproxy/acl.h>
#include <haproxy/action-t.h>
#include <haproxy/auth.h>
#include <haproxy/api.h>
#include <haproxy/global.h>
#include <types/stats.h>
-#include <proto/acl.h>
#include <proto/backend.h>
#include <proto/channel.h>
#include <proto/stats.h>
#include <haproxy/global.h>
#include <haproxy/compression-t.h>
-#include <proto/acl.h>
#include <haproxy/compression.h>
#include <haproxy/freq_ctr.h>
#include <proto/stream.h>
*
*/
+#include <haproxy/acl.h>
#include <haproxy/api.h>
#include <haproxy/chunk.h>
#include <common/cfgparse.h>
#include <haproxy/global.h>
-#include <proto/acl.h>
#include <proto/fcgi-app.h>
#include <proto/filters.h>
#include <proto/log.h>
#include <ctype.h>
#include <errno.h>
+#include <haproxy/acl.h>
#include <haproxy/action-t.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/global.h>
#include <types/spoe.h>
-#include <proto/acl.h>
#include <haproxy/arg.h>
#include <proto/backend.h>
#include <proto/filters.h>
#include <netinet/tcp.h>
+#include <haproxy/acl.h>
#include <haproxy/api.h>
#include <haproxy/chunk.h>
#include <haproxy/frontend.h>
#include <haproxy/global.h>
-#include <proto/acl.h>
#include <haproxy/arg.h>
#include <proto/channel.h>
#include <haproxy/fd.h>
#include <systemd/sd-daemon.h>
#endif
+#include <haproxy/acl.h>
#include <haproxy/auth.h>
#include <haproxy/api.h>
#include <import/sha1.h>
#include <types/cli.h>
#include <types/filters.h>
#include <haproxy/global.h>
-#include <types/acl.h>
-#include <proto/acl.h>
#include <haproxy/activity.h>
#include <haproxy/arg.h>
#include <proto/backend.h>
#include <string.h>
#include <time.h>
+#include <haproxy/acl.h>
#include <haproxy/auth.h>
#include <haproxy/api.h>
#include <haproxy/chunk.h>
#include <haproxy/tools.h>
#include <haproxy/version.h>
-#include <proto/acl.h>
#include <haproxy/arg.h>
#include <string.h>
#include <time.h>
+#include <haproxy/acl.h>
#include <haproxy/action.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/capture-t.h>
-#include <proto/acl.h>
#include <haproxy/arg.h>
#include <proto/log.h>
#include <proto/http_ana.h>
*
*/
+#include <haproxy/acl.h>
#include <haproxy/action-t.h>
#include <haproxy/api.h>
#include <haproxy/base64.h>
#include <haproxy/capture-t.h>
-#include <proto/acl.h>
#include <proto/channel.h>
#include <proto/filters.h>
#include <proto/log.h>
#include <string.h>
#include <time.h>
+#include <haproxy/acl.h>
#include <haproxy/action.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/capture-t.h>
-#include <proto/acl.h>
#include <haproxy/arg.h>
#include <proto/http_ana.h>
#include <haproxy/sample.h>
#include <unistd.h>
#include <fcntl.h>
+#include <haproxy/acl.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/connection.h>
#include <haproxy/protocol-t.h>
-#include <proto/acl.h>
#include <haproxy/fd.h>
#include <haproxy/freq_ctr.h>
#include <proto/log.h>
#include <stdlib.h>
#include <string.h>
+#include <haproxy/acl.h>
#include <haproxy/api.h>
#include <haproxy/connection.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 <haproxy/sample.h>
#include <types/stats.h>
-#include <proto/acl.h>
#include <proto/applet.h>
#include <proto/channel.h>
#include <proto/cli.h>
#include <string.h>
#include <unistd.h>
+#include <haproxy/acl.h>
#include <haproxy/api.h>
#include <haproxy/buf-t.h>
#include <haproxy/obj_type.h>
#include <types/ssl_sock.h>
-#include <proto/acl.h>
#include <haproxy/arg.h>
#include <proto/ssl_sock.h>
#include <types/ssl_sock.h>
#include <types/stats.h>
-#include <proto/acl.h>
#include <haproxy/arg.h>
#include <proto/channel.h>
#include <proto/cli.h>
#include <unistd.h>
#include <fcntl.h>
+#include <haproxy/acl.h>
#include <haproxy/action.h>
#include <haproxy/api.h>
#include <haproxy/capture.h>
#include <types/filters.h>
#include <types/stats.h>
-#include <proto/acl.h>
#include <haproxy/activity.h>
#include <haproxy/arg.h>
#include <proto/backend.h>
* 2 of the License, or (at your option) any later version.
*
*/
+#include <haproxy/acl.h>
#include <haproxy/action.h>
#include <haproxy/api.h>
#include <haproxy/capture-t.h>
#include <haproxy/arg-t.h>
-#include <proto/acl.h>
#include <proto/channel.h>
#include <proto/log.h>
#include <proto/proxy.h>