]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/adaptation/ServiceFilter.h
1 #ifndef SQUID_ADAPTATION__SERVICE_FILTER_H
2 #define SQUID_ADAPTATION__SERVICE_FILTER_H
4 #include "AccessLogEntry.h"
5 #include "adaptation/Elements.h"
13 /// information used to search for adaptation services
17 ServiceFilter(Method
, VectPoint
, HttpRequest
*, HttpReply
*, AccessLogEntry::Pointer
const &al
); // locks
18 ServiceFilter(const ServiceFilter
&f
);
19 ~ServiceFilter(); // unlocks
21 ServiceFilter
&operator =(const ServiceFilter
&f
);
24 Method method
; ///< adaptation direction
25 VectPoint point
; ///< adaptation location
26 HttpRequest
*request
; ///< HTTP request being adapted or cause; may be nil
27 HttpReply
*reply
; ///< HTTP response being adapted; may be nil
28 AccessLogEntry::Pointer al
; ///< info for the future access.log entry
31 } // namespace Adaptation
33 #endif /* SQUID_ADAPTATION__SERVICE_FILTER_H */