]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/Gadgets.h
1 #ifndef SQUID_ACL_GADGETS_H
2 #define SQUID_ACL_GADGETS_H
4 #include "acl/forward.h"
17 void aclDestroyAccessList(acl_access
**list
);
19 void aclDestroyAcls(ACL
**);
21 void aclDestroyAclList(ACLList
**);
22 /// Parses a single line of a "action followed by acls" directive (e.g., http_access).
24 void aclParseAccessLine(const char *directive
, ConfigParser
&parser
, Acl::Tree
**);
25 /// Parses a single line of a "some context followed by acls" directive (e.g., note n v).
26 /// The label parameter identifies the context (for debugging).
28 void aclParseAclList(ConfigParser
&parser
, Acl::Tree
**, const char *label
);
29 /// Template to convert various context lables to strings. \ingroup ACLAPI
32 void aclParseAclList(ConfigParser
&parser
, Acl::Tree
**tree
, const Any any
)
34 std::ostringstream buf
;
36 aclParseAclList(parser
, tree
, buf
.str().c_str());
40 int aclIsProxyAuth(const char *name
);
42 err_type
aclGetDenyInfoPage(AclDenyInfoList
** head
, const char *name
, int redirect_allowed
);
44 void aclParseDenyInfoLine(AclDenyInfoList
**);
46 void aclDestroyDenyInfoList(AclDenyInfoList
**);
48 wordlist
*aclDumpGeneric(const ACL
*);
50 void aclCacheMatchFlush(dlink_list
* cache
);
52 void dump_acl_access(StoreEntry
* entry
, const char *name
, acl_access
* head
);
54 void dump_acl_list(StoreEntry
* entry
, ACLList
* head
);
56 #endif /* SQUID_ACL_GADGETS_H */