]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/RegexData.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / RegexData.h
1 /*
2 * Copyright (C) 1996-2015 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
14 class RegexList;
15
16 class ACLRegexData : public ACLData<char const *>
17 {
18 MEMPROXY_CLASS(ACLRegexData);
19
20 public:
21 virtual ~ACLRegexData();
22 virtual bool match(char const *user);
23 virtual SBufList dump() const;
24 virtual void parse();
25 virtual bool empty() const;
26 virtual ACLData<char const *> *clone() const;
27
28 private:
29 RegexList *data;
30 };
31
32 #endif /* SQUID_ACLREGEXDATA_H */
33