]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/adaptation/ServiceConfig.h
1 #ifndef SQUID_ADAPTATION__SERVICE_CONFIG_H
2 #define SQUID_ADAPTATION__SERVICE_CONFIG_H
4 #include "SquidString.h"
6 #include "adaptation/Elements.h"
10 // manages adaptation service configuration in squid.conf
16 const char *methodStr() const;
17 const char *vectPointStr() const;
22 String key
; // service_configConfig name in the configuration file
23 String uri
; // service_configConfig URI
25 // service_configConfig URI components
31 Method method
; // what is being adapted (REQMOD vs RESPMOD)
32 VectPoint point
; // where the adaptation happens (pre- or post-cache)
36 Method
parseMethod(const char *buf
) const;
37 VectPoint
parseVectPoint(const char *buf
) const;
40 } // namespace Adaptation
42 #endif /* SQUID_ADAPTATION__SERVICE_CONFIG_H */