]> granicus.if.org Git - apache/blobdiff - modules/proxy/mod_proxy.h
Split proxy: space using <Proxy[Match] > directive blocks from
[apache] / modules / proxy / mod_proxy.h
index d43b0915e36af95dda0d1acd2f8468930910cc2e..df81a0ad1db51ef66eab9bfe6f223bfbc8c675c7 100644 (file)
@@ -93,6 +93,7 @@
 #include "apr_strings.h"
 #include "apr_uri.h"
 #include "apr_date.h"
+#include "apr_fnmatch.h"
 
 #include "httpd.h"
 #include "http_config.h"
@@ -156,6 +157,7 @@ struct noproxy_entry {
 
 typedef struct {
     apr_array_header_t *proxies;
+    apr_array_header_t *sec_proxy;
     apr_array_header_t *aliases;
     apr_array_header_t *raliases;
     apr_array_header_t *noproxies;
@@ -177,6 +179,12 @@ typedef struct {
     char maxfwd_set;
 } proxy_server_conf;
 
+typedef struct {
+    const char *p;            /* The path */
+    int         p_is_fnmatch; /* Is this path an fnmatch candidate? */
+    regex_t    *r;            /* Is this a regex? */
+} proxy_dir_conf;
+
 typedef struct {
     conn_rec *connection;
     char *hostname;