+/*
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
#include "squid.h"
#include "acl/Checklist.h"
#include "acl/HierCodeData.h"
-#include "cache_cf.h"
+#include "ConfigParser.h"
+#include "fatal.h"
#include "hier_code.h"
ACLHierCodeData::ACLHierCodeData()
{
char *t = NULL;
- while ((t = strtokFile())) {
+ while ((t = ConfigParser::strtokFile())) {
for (hier_code iter = HIER_NONE; iter <= HIER_MAX; ++iter) {
if (iter == HIER_MAX) {
fatalf("ERROR: No such hier_code '%s'",t);
{
return new ACLHierCodeData(*this);
}
+