]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/DomainData.h
Migrated acl/DomainData to Splay
[thirdparty/squid.git] / src / acl / DomainData.h
CommitLineData
3841dd46 1/*
bbc27441 2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
3841dd46 3 *
bbc27441
AJ
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
3841dd46 7 */
8
9#ifndef SQUID_ACLDOMAINDATA_H
10#define SQUID_ACLDOMAINDATA_H
63be0a78 11
3ad63615
AR
12#include "acl/Acl.h"
13#include "acl/Data.h"
602d9612 14#include "splay.h"
3841dd46 15
62e76326 16class ACLDomainData : public ACLData<char const *>
17{
b001e822 18 MEMPROXY_CLASS(ACLDomainData);
3841dd46 19
741c2986 20public:
3841dd46 21 virtual ~ACLDomainData();
22 bool match(char const *);
2cb8d372 23 virtual SBufList dump() const;
3841dd46 24 void parse();
65092baf 25 bool empty() const;
5dee515e 26 virtual ACLData<char const *> *clone() const;
62e76326 27
4a0199ee 28 Splay<char *> *domains;
3841dd46 29};
30
31#endif /* SQUID_ACLDOMAINDATA_H */
f53969cc 32