summaryrefslogtreecommitdiff
path: root/src/mod_ssi.h
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-02-20 14:27:00 +0000
committerJan Kneschke <jan@kneschke.de>2005-02-20 14:27:00 +0000
commitbcdc6a3bbcde8e66da41aa2311642e53f4fc7c9b (patch)
treea0536d23ba17a40c236fc3cd2a4a133110ae7501 /src/mod_ssi.h
downloadlighttpd1.4-bcdc6a3bbcde8e66da41aa2311642e53f4fc7c9b.tar.gz
lighttpd1.4-bcdc6a3bbcde8e66da41aa2311642e53f4fc7c9b.zip
moved everything below trunk/ and added branches/ and tags/
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_ssi.h')
-rw-r--r--src/mod_ssi.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/mod_ssi.h b/src/mod_ssi.h
new file mode 100644
index 00000000..80f03ed8
--- /dev/null
+++ b/src/mod_ssi.h
@@ -0,0 +1,43 @@
+#ifndef _MOD_SSI_H_
+#define _MOD_SSI_H_
+
+#include "base.h"
+#include "buffer.h"
+#include "array.h"
+
+#include "plugin.h"
+
+#ifdef HAVE_PCRE_H
+#include <pcre.h>
+#endif
+
+/* plugin config for all request/connections */
+
+typedef struct {
+ array *ssi_extension;
+} plugin_config;
+
+typedef struct {
+ PLUGIN_DATA;
+
+#ifdef HAVE_PCRE_H
+ pcre *ssi_regex;
+#endif
+ buffer *timefmt;
+ int sizefmt;
+
+ buffer *stat_fn;
+
+ array *ssi_vars;
+ array *ssi_cgi_env;
+
+ int if_level, if_is_false_level, if_is_false, if_is_false_endif;
+
+ plugin_config **config_storage;
+
+ plugin_config conf;
+} plugin_data;
+
+int ssi_eval_expr(server *srv, connection *con, plugin_data *p, const char *expr);
+
+#endif