~chtsanti/squid/icap-max-connections

« back to all changes in this revision

Viewing changes to src/acl/Protocol.cc

  • Committer: Christos Tsantilas
  • Date: 2009-04-11 09:00:59 UTC
  • mfrom: (9294.1.333 trunk)
  • Revision ID: chtsanti@users.sourceforge.net-20090411090059-8n47p1kyy1cqfqkn
MergeĀ FromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 */
35
35
 
36
36
#include "squid.h"
37
 
#include "ACLProtocol.h"
38
 
#include "ACLProtocolData.h"
39
 
#include "ACLChecklist.h"
 
37
#include "acl/Protocol.h"
 
38
#include "acl/ProtocolData.h"
 
39
#include "acl/Checklist.h"
40
40
#include "HttpRequest.h"
41
41
 
42
42
/* explicit template instantiation required for some systems */
43
43
 
44
44
template class ACLStrategised<protocol_t>;
45
45
 
46
 
ACL::Prototype ACLProtocol::RegistryProtoype(&ACLProtocol::RegistryEntry_, "proto");
47
46
 
48
 
ACLStrategised<protocol_t> ACLProtocol::RegistryEntry_(new ACLProtocolData, ACLProtocolStrategy::Instance(), "proto");
49
47
 
50
48
int
51
 
ACLProtocolStrategy::match (ACLData<MatchType> * &data, ACLChecklist *checklist)
 
49
ACLProtocolStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
52
50
{
53
51
    return data->match (checklist->request->protocol);
54
52
}