]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/ACLCertificateData.h
Cleanup: zap CVS Id tags
[thirdparty/squid.git] / src / ACLCertificateData.h
index 6c24c15b872d5968af9b13a13bd7961815bd3982..4a2f6d7ab8acfc073c37e1ddc52672bf77b45256 100644 (file)
@@ -1,6 +1,5 @@
-
 /*
- * $Id: ACLCertificateData.h,v 1.2 2003/02/17 07:01:34 robertc Exp $
+ * $Id$
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 2 of the License, or
  *  (at your option) any later version.
- *  
+ *
  *  This program is distributed in the hope that it will be useful,
  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  *  GNU General Public License for more details.
- *  
+ *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
 
 #ifndef SQUID_ACLCERTIFICATEDATA_H
 #define SQUID_ACLCERTIFICATEDATA_H
+
 #include "splay.h"
 #include "ACL.h"
 #include "ACLData.h"
 #include "ssl_support.h"
+#include "ACLStringData.h"
 
-class ACLCertificateData : public ACLData<SSL *> {
-  public:
-    void *operator new(size_t);
-    void operator delete(void *);
-    virtual void deleteSelf() const;
+/// \ingroup ACLAPI
+class ACLCertificateData : public ACLData<SSL *>
+{
+
+public:
+    MEMPROXY_CLASS(ACLCertificateData);
 
     ACLCertificateData(SSLGETATTRIBUTE *);
     ACLCertificateData(ACLCertificateData const &);
@@ -53,13 +55,16 @@ class ACLCertificateData : public ACLData<SSL *> {
     bool match(SSL *);
     wordlist *dump();
     void parse();
+    bool empty() const;
     virtual ACLData<SSL *> *clone() const;
-    
+
     char *attribute;
-    SplayNode<char *> *values;
-  private:
-    static MemPool *Pool;
+    ACLStringData values;
+
+private:
     SSLGETATTRIBUTE *sslAttributeCall;
 };
 
+MEMPROXY_CLASS_INLINE(ACLCertificateData)          /**DOCS_NOSEMI*/
+
 #endif /* SQUID_ACLCERTIFICATEDATA_H */