Gadgets.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 "err_type.h"
14 
15 #include <sstream>
16 
17 class ConfigParser;
18 class dlink_list;
19 class StoreEntry;
20 class wordlist;
21 
24 void aclRegister(ACL *acl);
26 void aclDestroyAccessList(acl_access **list);
28 void aclDestroyAcls(ACL **);
30 void aclDestroyAclList(ACLList **);
33 void aclParseAccessLine(const char *directive, ConfigParser &parser, Acl::Tree **);
37 void aclParseAclList(ConfigParser &parser, Acl::Tree **, const char *label);
39 template <class Any>
40 inline
41 void aclParseAclList(ConfigParser &parser, Acl::Tree **tree, const Any any)
42 {
43  std::ostringstream buf;
44  buf << any;
45  aclParseAclList(parser, tree, buf.str().c_str());
46 }
47 
49 int aclIsProxyAuth(const char *name);
51 err_type aclGetDenyInfoPage(AclDenyInfoList ** head, const char *name, int redirect_allowed);
57 wordlist *aclDumpGeneric(const ACL *);
59 void aclCacheMatchFlush(dlink_list * cache);
61 void dump_acl_access(StoreEntry * entry, const char *name, acl_access * head);
63 void dump_acl_list(StoreEntry * entry, ACLList * head);
64 
65 #endif /* SQUID_ACL_GADGETS_H */
66 
Definition: Tree.h:20
void dump_acl_access(StoreEntry *entry, const char *name, acl_access *head)
Definition: cache_cf.cc:1387
void aclCacheMatchFlush(dlink_list *cache)
Definition: Acl.cc:357
Definition: Acl.h:39
#define ACLList
Definition: forward.h:45
wordlist * aclDumpGeneric(const ACL *)
void aclDestroyDenyInfoList(AclDenyInfoList **)
Definition: Gadgets.cc:297
int aclIsProxyAuth(const char *name)
Definition: Gadgets.cc:74
deny_info representation. Currently a POD.
void aclParseAccessLine(const char *directive, ConfigParser &parser, Acl::Tree **)
void aclDestroyAccessList(acl_access **list)
Definition: Gadgets.cc:284
void const char * buf
Definition: stub_helper.cc:16
void aclRegister(ACL *acl)
Definition: Gadgets.cc:229
void dump_acl_list(StoreEntry *entry, ACLList *head)
Definition: cache_cf.cc:1381
void aclParseAclList(ConfigParser &parser, Acl::Tree **, const char *label)
Definition: Gadgets.cc:198
void aclDestroyAcls(ACL **)
called to delete ALL Acls.
Definition: Gadgets.cc:257
#define acl_access
Definition: forward.h:44
void aclDestroyAclList(ACLList **)
Definition: Gadgets.cc:275
squidaio_request_t * head
Definition: aiops.cc:127
void aclParseDenyInfoLine(AclDenyInfoList **)
Definition: Gadgets.cc:104
err_type
Definition: err_type.h:12
err_type aclGetDenyInfoPage(AclDenyInfoList **head, const char *name, int redirect_allowed)
Definition: Gadgets.cc:40

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors