/usr/include/lighttpd/mod_ssi.h is in lighttpd-dev 1.4.45-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | #ifndef _MOD_SSI_H_
#define _MOD_SSI_H_
#include "first.h"
#include "base.h"
#include "buffer.h"
#include "array.h"
#include "plugin.h"
/* plugin config for all request/connections */
typedef struct {
array *ssi_extension;
buffer *content_type;
unsigned short conditional_requests;
unsigned short ssi_exec;
unsigned short ssi_recursion_max;
} plugin_config;
typedef struct {
PLUGIN_DATA;
buffer *timefmt;
buffer *stat_fn;
array *ssi_vars;
array *ssi_cgi_env;
plugin_config **config_storage;
plugin_config conf;
} plugin_data;
typedef struct {
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;
unsigned short ssi_recursion_depth;
plugin_config conf;
} handler_ctx;
int ssi_eval_expr(server *srv, connection *con, handler_ctx *p, const char *expr);
#endif
|