]>
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"
11 // manages adaptation service configuration in squid.conf
17 const char *methodStr() const;
18 const char *vectPointStr() const;
23 String key
; // service_configConfig name in the configuration file
24 String uri
; // service_configConfig URI
26 // service_configConfig URI components
32 Method method
; // what is being adapted (REQMOD vs RESPMOD)
33 VectPoint point
; // where the adaptation happens (pre- or post-cache)
37 Method
parseMethod(const char *buf
) const;
38 VectPoint
parseVectPoint(const char *buf
) const;
41 } // namespace Adaptation
43 #endif /* SQUID_ADAPTATION__SERVICE_CONFIG_H */