Annotation of embedaddon/lighttpd/src/mod_ssi.h, revision 1.1.1.2

1.1       misho       1: #ifndef _MOD_SSI_H_
                      2: #define _MOD_SSI_H_
1.1.1.2 ! misho       3: #include "first.h"
1.1       misho       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;
1.1.1.2 ! misho      16:        unsigned short conditional_requests;
        !            17:        unsigned short ssi_exec;
1.1       misho      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>