
/*
 * $Id: ACLSslErrorData.h,v 1.1 2008/02/11 22:24:39 rousskov Exp $
 */

#ifndef SQUID_ACLSSL_ERRORDATA_H
#define SQUID_ACLSSL_ERRORDATA_H
#include "ACL.h"
#include "ACLData.h"
#include "CbDataList.h"
#include "ssl_support.h"

class ACLSslErrorData : public ACLData<ssl_error_t>
{

public:
    MEMPROXY_CLASS(ACLSslErrorData);

    ACLSslErrorData();
    ACLSslErrorData(ACLSslErrorData const &);
    ACLSslErrorData &operator= (ACLSslErrorData const &);
    virtual ~ACLSslErrorData();
    bool match(ssl_error_t);
    wordlist *dump();
    void parse();
    bool empty() const;
    virtual ACLData<ssl_error_t> *clone() const;

    CbDataList<ssl_error_t> *values;
};

MEMPROXY_CLASS_INLINE(ACLSslErrorData);

#endif /* SQUID_ACLSSL_ERRORDATA_H */
