-
/*
- * $Id: ACLMethodData.h,v 1.4 2005/05/08 06:36:45 hno 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_ACLMETHODDATA_H
#define SQUID_ACLMETHODDATA_H
+
#include "ACL.h"
#include "ACLData.h"
-#include "List.h"
+#include "CbDataList.h"
-class ACLMethodData : public ACLData<method_t>
+/// \ingroup ACLAPI
+class ACLMethodData : public ACLData<HttpRequestMethod>
{
public:
ACLMethodData(ACLMethodData const &);
ACLMethodData &operator= (ACLMethodData const &);
virtual ~ACLMethodData();
- bool match(method_t);
+ bool match(HttpRequestMethod);
wordlist *dump();
void parse();
bool empty() const;
- virtual ACLData<method_t> *clone() const;
+ virtual ACLData<HttpRequestMethod> *clone() const;
- List<method_t> *values;
+ CbDataList<HttpRequestMethod> *values;
};
-MEMPROXY_CLASS_INLINE(ACLMethodData)
+MEMPROXY_CLASS_INLINE(ACLMethodData);
#endif /* SQUID_ACLMETHODDATA_H */