AclDenyInfoList.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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_ACLDENYINFOLIST_H_
10#define SQUID_ACLDENYINFOLIST_H_
11
12#include "acl/forward.h"
13#include "error/forward.h"
14#include "errorpage.h"
15#include "mem/forward.h"
16#include "sbuf/forward.h"
17
20{
22
23public:
24 AclDenyInfoList(const char *t, const SBuf &aCfgLocation) {
26 err_page_id = errorReservePageId(t, aCfgLocation);
27 }
30 while (next) {
31 auto *a = next;
32 next = a->next;
33 a->next = nullptr;
34 delete a;
35 }
36 }
38 char *err_page_name = nullptr;
41};
42
43#endif /* SQUID_ACLDENYINFOLIST_H_ */
44
deny_info representation. Currently a POD.
AclDenyInfoList(const char *t, const SBuf &aCfgLocation)
SBufList acl_list
ACL names in configured order.
MEMPROXY_CLASS(AclDenyInfoList)
AclDenyInfoList * next
err_type err_page_id
Definition: SBuf.h:94
err_type
Definition: forward.h:14
@ ERR_NONE
Definition: forward.h:15
err_type errorReservePageId(const char *page_name, const SBuf &cfgLocation)
allocates a new slot for the error page
Definition: errorpage.cc:648
#define xfree
#define xstrdup
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors