]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/RegexData.h
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / acl / RegexData.h
1 /*
2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
3 *
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.
7 */
8
9 #ifndef SQUID_ACLREGEXDATA_H
10 #define SQUID_ACLREGEXDATA_H
11
12 #include "acl/Data.h"
13 #include "MemPool.h"
14
15 class RegexList;
16
17 class ACLRegexData : public ACLData<char const *>
18 {
19
20 public:
21 MEMPROXY_CLASS(ACLRegexData);
22
23 virtual ~ACLRegexData();
24 virtual bool match(char const *user);
25 virtual SBufList dump() const;
26 virtual void parse();
27 virtual bool empty() const;
28 virtual ACLData<char const *> *clone() const;
29
30 private:
31 RegexList *data;
32 };
33
34 MEMPROXY_CLASS_INLINE(ACLRegexData);
35
36 #endif /* SQUID_ACLREGEXDATA_H */