]>
Commit | Line | Data |
---|---|---|
a68cf076 AR |
1 | #ifndef SQUID_ADAPTATION__ELEMENTS_H |
2 | #define SQUID_ADAPTATION__ELEMENTS_H | |
3 | ||
4 | // widely used adaptation primitives | |
5 | ||
6 | namespace Adaptation | |
7 | { | |
8 | ||
9 | typedef enum { methodNone, methodReqmod, methodRespmod, methodOptions } Method; | |
10 | typedef enum { pointNone, pointPreCache, pointPostCache } VectPoint; | |
2dba5b8e | 11 | typedef enum { srvBlock, srvBypass, srvWait, srvForce} SrvBehaviour; |
a68cf076 AR |
12 | |
13 | extern const char *crlf; | |
14 | extern const char *methodStr(Method); // TODO: make into a stream operator? | |
15 | extern const char *vectPointStr(VectPoint); // TODO: make into a stream op? | |
16 | ||
17 | } // namespace Adaptation | |
18 | ||
19 | #endif /* SQUID_ADAPTATION_ELEMENTS_H */ |