1 |
dpavlin |
1.1 |
/* |
2 |
|
|
** mod_noczs.c |
3 |
|
|
*/ |
4 |
|
|
|
5 |
|
|
#include "httpd.h" |
6 |
|
|
#include "http_config.h" |
7 |
|
|
#include "http_protocol.h" |
8 |
|
|
#include "ap_config.h" |
9 |
dpavlin |
1.2 |
|
10 |
|
|
#define XHEADER "noczs" |
11 |
dpavlin |
1.1 |
#include "translate.c" |
12 |
|
|
|
13 |
|
|
int do_czs; |
14 |
|
|
|
15 |
|
|
/* Dispatch list for API hooks */ |
16 |
|
|
module MODULE_VAR_EXPORT noczs_module = { |
17 |
|
|
STANDARD_MODULE_STUFF, |
18 |
|
|
NULL, /* module initializer */ |
19 |
|
|
NULL, /* create per-dir config structures */ |
20 |
|
|
NULL, /* merge per-dir config structures */ |
21 |
|
|
NULL, /* create per-server config structures */ |
22 |
|
|
NULL, /* merge per-server config structures */ |
23 |
|
|
NULL, /* table of config file commands */ |
24 |
|
|
NULL, /* [#8] MIME-typed-dispatched handlers */ |
25 |
|
|
translate_path, /* [#1] URI to filename translation */ |
26 |
|
|
NULL, /* [#4] validate user id from request */ |
27 |
|
|
NULL, /* [#5] check if the user is ok _here_ */ |
28 |
|
|
NULL, /* [#3] check access by host address */ |
29 |
|
|
NULL, /* [#6] determine MIME type */ |
30 |
|
|
NULL, /* [#7] pre-run fixups */ |
31 |
|
|
NULL, /* [#9] log a transaction */ |
32 |
|
|
NULL, /* [#2] header parser */ |
33 |
|
|
NULL, /* child_init */ |
34 |
|
|
NULL, /* child_exit */ |
35 |
|
|
NULL /* [#0] post read-request */ |
36 |
|
|
#ifdef EAPI |
37 |
|
|
,NULL, /* EAPI: add_module */ |
38 |
|
|
NULL, /* EAPI: remove_module */ |
39 |
|
|
NULL, /* EAPI: rewrite_command */ |
40 |
|
|
NULL /* EAPI: new_connection */ |
41 |
|
|
#endif |
42 |
|
|
}; |
43 |
|
|
|