Gadgets.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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_ACL_GADGETS_H
10#define SQUID_ACL_GADGETS_H
11
12#include "acl/forward.h"
13#include "error/forward.h"
14
15#include <sstream>
16
17class ConfigParser;
18class dlink_list;
19class StoreEntry;
20class wordlist;
21
24void aclRegister(ACL *acl);
28void aclDestroyAcls(ACL **);
33void aclParseAccessLine(const char *directive, ConfigParser &parser, Acl::Tree **);
37size_t aclParseAclList(ConfigParser &parser, Acl::Tree **, const char *label);
39template <class Any>
40inline size_t
41aclParseAclList(ConfigParser &parser, Acl::Tree **tree, const Any any)
42{
43 std::ostringstream buf;
44 buf << any;
45 return aclParseAclList(parser, tree, buf.str().c_str());
46}
47
49int aclIsProxyAuth(const char *name);
51err_type aclGetDenyInfoPage(AclDenyInfoList ** head, const char *name, int redirect_allowed);
59void aclCacheMatchFlush(dlink_list * cache);
61void dump_acl_access(StoreEntry * entry, const char *name, acl_access * head);
63void dump_acl_list(StoreEntry * entry, ACLList * head);
64
65#endif /* SQUID_ACL_GADGETS_H */
66
size_t aclParseAclList(ConfigParser &parser, Acl::Tree **, const char *label)
Definition: Gadgets.cc:188
#define acl_access
Definition: forward.h:45
#define ACLList
Definition: forward.h:46
squidaio_request_t * head
Definition: aiops.cc:127
Definition: Acl.h:46
deny_info representation. Currently a POD.
Definition: Tree.h:21
err_type
Definition: forward.h:14
void aclDestroyAccessList(acl_access **list)
Definition: Gadgets.cc:276
void aclDestroyAcls(ACL **)
called to delete ALL Acls.
Definition: Gadgets.cc:249
void aclDestroyDenyInfoList(AclDenyInfoList **)
Definition: Gadgets.cc:289
void aclParseAccessLine(const char *directive, ConfigParser &parser, Acl::Tree **)
void aclCacheMatchFlush(dlink_list *cache)
Definition: Acl.cc:391
void dump_acl_list(StoreEntry *entry, ACLList *head)
Definition: cache_cf.cc:1508
err_type aclGetDenyInfoPage(AclDenyInfoList **head, const char *name, int redirect_allowed)
Definition: Gadgets.cc:39
int aclIsProxyAuth(const char *name)
Definition: Gadgets.cc:70
void aclDestroyAclList(ACLList **)
Definition: Gadgets.cc:267
void aclRegister(ACL *acl)
Definition: Gadgets.cc:221
void aclParseDenyInfoLine(AclDenyInfoList **)
Definition: Gadgets.cc:100
void dump_acl_access(StoreEntry *entry, const char *name, acl_access *head)
Definition: cache_cf.cc:1516
wordlist * aclDumpGeneric(const ACL *)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors