/*
- * $Id: asn.cc,v 1.30 1998/04/09 17:56:14 wessels Exp $
+ * $Id: asn.cc,v 1.31 1998/04/25 07:07:42 wessels Exp $
*
* DEBUG: section 53 AS Number handling
* AUTHOR: Duane Wessels, Kostas Anagnostakis
static PF whoisReadReply;
static STCB asHandleReply;
static int destroyRadixNode(struct radix_node *rn, void *w);
+static void asnAclInitialize(acl * acls);
static void destroyRadixNodeInfo(as_info *);
return 0;
}
-void
+static void
asnAclInitialize(acl * acls)
{
acl *a;
max_keylen = 40;
rn_init();
rn_inithead((void **) &AS_tree_head, 8);
+ asnAclInitialize(Config.aclList);
}
void
/*
- * $Id: main.cc,v 1.247 1998/04/24 18:27:50 wessels Exp $
+ * $Id: main.cc,v 1.248 1998/04/25 07:07:40 wessels Exp $
*
* DEBUG: section 1 Startup and Main Loop
* AUTHOR: Harvest Derived
#ifdef SQUID_SNMP
snmpConnectionShutdown();
#endif
+ asnFreeMemory();
}
static void
snmpConnectionClose();
#endif
dnsShutdownServers();
- asnFreeMemory();
redirectShutdownServers();
storeDirCloseSwapLogs();
errorFree();
parseConfigFile(ConfigFile);
_db_init(Config.Log.log, Config.debugOptions);
- asnAclInitialize(Config.aclList); /* reload network->AS database */
ipcache_restart(); /* clear stuck entries */
fqdncache_restart(); /* sigh, fqdncache too */
errorInitialize(); /* reload error pages */
cachemgrInit();
statInit();
storeInit();
- asnAclInitialize(Config.aclList);
if (Config.effectiveUser) {
/* we were probably started as root, so cd to a swap
* directory in case we dump core */
extern void pconnInit(void);
extern int asnMatchIp(void *, struct in_addr);
-extern void asnAclInitialize(acl *);
extern void asnInit(void);
extern void asnFreeMemory(void);
extern void dlinkAdd(void *data, dlink_node *, dlink_list *);