/*
- * $Id: ACL.h,v 1.18 2007/01/28 15:37:46 serassio Exp $
+ * $Id: ACL.h,v 1.19 2007/09/01 05:56:37 amosjeffries Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
/* acl.c */
SQUIDCEXTERN void aclDestroyAccessList(acl_access **list);
SQUIDCEXTERN void aclDestroyAcls(ACL **);
-SQUIDCEXTERN void aclDestroyAclList(acl_list **);
+SQUIDCEXTERN void aclDestroyAclList(ACLList **);
SQUIDCEXTERN void aclParseAccessLine(ConfigParser &parser, acl_access **);
-SQUIDCEXTERN void aclParseAclList(ConfigParser &parser, acl_list **);
+SQUIDCEXTERN void aclParseAclList(ConfigParser &parser, ACLList **);
SQUIDCEXTERN int aclIsProxyAuth(const char *name);
SQUIDCEXTERN err_type aclGetDenyInfoPage(acl_deny_info_list ** head, const char *name, int redirect_allowed);
void operator delete(void *);
bool containsPURGE() const;
allow_t allow;
- acl_list *aclList;
+ ACLList *aclList;
char *cfgline;
acl_access *next;
MEMPROXY_CLASS_INLINE(ACLList)
-typedef ACLList acl_list;
-
class acl_proxy_auth_match_cache
{
/*
- * $Id: ACLChecklist.cc,v 1.41 2007/07/19 00:37:05 hno Exp $
+ * $Id: ACLChecklist.cc,v 1.42 2007/09/01 05:56:37 amosjeffries Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
}
void
-ACLChecklist::matchAclListSlow(const acl_list * list)
+ACLChecklist::matchAclListSlow(const ACLList * list)
{
matchAclList(list, false);
}
void
-ACLChecklist::matchAclList(const acl_list * head, bool const fast)
+ACLChecklist::matchAclList(const ACLList * head, bool const fast)
{
PROF_start(aclMatchAclList);
- const acl_list *node = head;
+ const ACLList *node = head;
finished_ = false;
/*
- * $Id: ACLChecklist.cci,v 1.5 2007/06/17 21:39:49 hno Exp $
+ * $Id: ACLChecklist.cci,v 1.6 2007/09/01 05:56:37 amosjeffries Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Henrik Nordstrom
*/
bool
-ACLChecklist::matchAclListFast(const acl_list * list)
+ACLChecklist::matchAclListFast(const ACLList * list)
{
matchAclList(list, true);
return finished();
/*
- * $Id: ACLChecklist.h,v 1.27 2007/07/19 00:37:05 hno Exp $
+ * $Id: ACLChecklist.h,v 1.28 2007/09/01 05:56:37 amosjeffries Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
int fastCheck();
void checkCallback(allow_t answer);
void preCheck();
- _SQUID_INLINE_ bool matchAclListFast(const acl_list * list);
+ _SQUID_INLINE_ bool matchAclListFast(const ACLList * list);
ConnStateData::Pointer conn();
void conn(ConnStateData::Pointer);
int authenticated();
void markSourceDomainChecked();
private:
- void matchAclList(const acl_list * list, bool const fast);
- void matchAclListSlow(const acl_list * list);
+ void matchAclList(const ACLList * list, bool const fast);
+ void matchAclListSlow(const ACLList * list);
CBDATA_CLASS(ACLChecklist);
ConnStateData::Pointer conn_; /* hack for ident and NTLM */
bool async_;
/*
- * $Id: acl.cc,v 1.322 2007/04/28 22:26:37 hno Exp $
+ * $Id: acl.cc,v 1.323 2007/09/01 05:56:37 amosjeffries Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
acl_access::containsPURGE() const
{
acl_access const *a = this;
- acl_list *b;
+ ACLList *b;
debugs(28, 6, "acl_access::containsPURGE: invoked for '" << cfgline << "'");
/*
- * $Id: acl_noncore.cc,v 1.5 2007/04/28 22:26:37 hno Exp $
+ * $Id: acl_noncore.cc,v 1.6 2007/09/01 05:56:37 amosjeffries Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
}
void
-aclParseAclList(ConfigParser &parser, acl_list ** head)
+aclParseAclList(ConfigParser &parser, ACLList ** head)
{
- acl_list **Tail = head; /* sane name in the use below */
+ ACLList **Tail = head; /* sane name in the use below */
ACL *a = NULL;
char *t;
* by '!' for negation */
while ((t = strtok(NULL, w_space))) {
- acl_list *L = new ACLList;
+ ACLList *L = new ACLList;
if (*t == '!') {
L->negated (true);
}
void
-aclDestroyAclList(acl_list ** head)
+aclDestroyAclList(ACLList ** head)
{
- acl_list *l;
+ ACLList *l;
debugs(28, 8, "aclDestroyAclList: invoked");
for (l = *head; l; l = *head) {
/*
- * $Id: cache_cf.cc,v 1.519 2007/08/17 03:35:31 hno Exp $
+ * $Id: cache_cf.cc,v 1.520 2007/09/01 05:56:37 amosjeffries Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
}
static void
-dump_acl_list(StoreEntry * entry, acl_list * head)
+dump_acl_list(StoreEntry * entry, ACLList * head)
{
- acl_list *l;
+ ACLList *l;
for (l = head; l; l = l->next) {
storeAppendPrintf(entry, " %s%s",
/*
- * $Id: structs.h,v 1.561 2007/08/13 17:20:51 hno Exp $
+ * $Id: structs.h,v 1.562 2007/09/01 05:56:37 amosjeffries Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
struct _acl_address
{
acl_address *next;
- acl_list *aclList;
+ ACLList *aclList;
struct IN_ADDR addr;
};
struct _acl_tos
{
acl_tos *next;
- acl_list *aclList;
+ ACLList *aclList;
int tos;
};
struct _acl_size_t
{
acl_size_t *next;
- acl_list *aclList;
+ ACLList *aclList;
int64_t size;
};
struct _customlog
{
char *filename;
- acl_list *aclList;
+ ACLList *aclList;
logformat *logFormat;
Logfile *logfile;
customlog *next;