summaryrefslogtreecommitdiff
path: root/src/mod_proxy_core_rewrites.h
diff options
context:
space:
mode:
authorstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-09-18 15:15:18 +0000
committerstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-09-18 15:15:18 +0000
commit8b2630a82fbecfd57fa38aebb397a755936690e5 (patch)
treea9cfcd7bb5bea87d63fc8ef81c8456a130a249bc /src/mod_proxy_core_rewrites.h
parente57c8295ebe92b58ca3e68fa8ea8f70d4b0b4cee (diff)
downloadlighttpd-master.tar.gz
add README to point to lighttpd-1.4.x as stableHEADmaster
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_proxy_core_rewrites.h')
-rw-r--r--src/mod_proxy_core_rewrites.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/mod_proxy_core_rewrites.h b/src/mod_proxy_core_rewrites.h
deleted file mode 100644
index bd7cc21a..00000000
--- a/src/mod_proxy_core_rewrites.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef _MOD_PROXY_CORE_REWRITES_H_
-#define _MOD_PROXY_CORE_REWRITES_H_
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#ifdef HAVE_PCRE_H
-#include <pcre.h>
-#endif
-#include "array-static.h"
-#include "buffer.h"
-
-#ifndef HAVE_PCRE_H
-#define pcre void
-#endif
-
-typedef struct {
- buffer *header;
-
- pcre *regex; /* regex compiled from the <match> */
-
- buffer *match;
- buffer *replace;
-} proxy_rewrite;
-
-ARRAY_STATIC_DEF(proxy_rewrites, proxy_rewrite,);
-
-proxy_rewrite *proxy_rewrite_init(void);
-void proxy_rewrite_free(proxy_rewrite *rewrite);
-int proxy_rewrite_set_regex(proxy_rewrite *rewrite, buffer *regex);
-
-proxy_rewrites *proxy_rewrites_init(void);
-void proxy_rewrites_add(proxy_rewrites *rewrites, proxy_rewrite *rewrite);
-void proxy_rewrites_free(proxy_rewrites *rewrites);
-
-int pcre_replace(pcre *match, buffer *replace, buffer *match_buf, buffer *result);
-
-#endif
-