File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / lighttpd / src / mod_ssi.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Nov 2 10:35:00 2016 UTC (7 years, 7 months ago) by misho
Branches: lighttpd, MAIN
CVS tags: v1_4_41p8, HEAD
lighttpd 1.4.41

    1: #ifndef _MOD_SSI_H_
    2: #define _MOD_SSI_H_
    3: #include "first.h"
    4: 
    5: #include "base.h"
    6: #include "buffer.h"
    7: #include "array.h"
    8: 
    9: #include "plugin.h"
   10: 
   11: /* plugin config for all request/connections */
   12: 
   13: typedef struct {
   14: 	array *ssi_extension;
   15: 	buffer *content_type;
   16: 	unsigned short conditional_requests;
   17: 	unsigned short ssi_exec;
   18: } plugin_config;
   19: 
   20: typedef struct {
   21: 	PLUGIN_DATA;
   22: 
   23: 	buffer *timefmt;
   24: 	int sizefmt;
   25: 
   26: 	buffer *stat_fn;
   27: 
   28: 	array *ssi_vars;
   29: 	array *ssi_cgi_env;
   30: 
   31: 	int if_level, if_is_false_level, if_is_false, if_is_false_endif;
   32: 
   33: 	plugin_config **config_storage;
   34: 
   35: 	plugin_config conf;
   36: } plugin_data;
   37: 
   38: int ssi_eval_expr(server *srv, connection *con, plugin_data *p, const char *expr);
   39: 
   40: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>