Newer
Older
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
/*
* cs_datatypes.h
*
* Created on: 4 Apr 2018
* Author: development
*/
#ifndef MODULES_CONTEXTSPLIT_CS_DATATYPES_H_
#define MODULES_CONTEXTSPLIT_CS_DATATYPES_H_
#include "httpd.h"
#include "http_config.h"
/*--------------------------------------------------------------------------*/
/* */
/* Data declarations. */
/* */
/* Here are the static cells and structure declarations private to our */
/* module. */
/* */
/*--------------------------------------------------------------------------*/
/*
* Sample configuration record. Used for both per-directory and per-server
* configuration data.
*
* It's perfectly reasonable to have two different structures for the two
* different environments. The same command handlers will be called for
* both, though, so the handlers need to be able to tell them apart. One
* possibility is for both structures to start with an int which is 0 for
* one and 1 for the other.
*
* Note that while the per-directory and per-server configuration records are
* available to most of the module handlers, they should be treated as
* READ-ONLY by all except the command and merge handlers. Sometimes handlers
* are handed a record that applies to the current location by implication or
* inheritance, and modifying it will change the rules for other locations.
*/
typedef struct cs_cfg {
/* TODO - this is the structure that defines the context splitter
* module configuration
*/
void * pvUnused;
} cs_cfg;
extern module g_ContextsplitModule;
#endif /* MODULES_CONTEXTSPLIT_CS_DATATYPES_H_ */