1 /*
2  * Copyright (C) 1996-2021 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_ACL_CONNECTIONS_ENCRYPTED_H
10 #define SQUID_ACL_CONNECTIONS_ENCRYPTED_H
11 
12 #include "acl/Acl.h"
13 #include "acl/Checklist.h"
14 
15 namespace Acl
16 {
17 
18 class ConnectionsEncrypted : public ACL
19 {
20     MEMPROXY_CLASS(ConnectionsEncrypted);
21 
22 public:
23     ConnectionsEncrypted(char const *);
24     ConnectionsEncrypted(ConnectionsEncrypted const &);
25     virtual ~ConnectionsEncrypted();
26     ConnectionsEncrypted &operator =(ConnectionsEncrypted const &);
27 
28     virtual ACL *clone()const;
29     virtual char const *typeString() const;
30     virtual void parse();
31     virtual int match(ACLChecklist *checklist);
32     virtual SBufList dump() const;
33     virtual bool empty () const;
34 
35 protected:
36     char const *class_;
37 };
38 
39 } // namespace Acl
40 
41 #endif /* SQUID_ACL_CONNECTIONS_ENCRYPTED_H */
42 
43