extern void snmpInit(void);
extern void snmpConnectionOpen(void);
extern void snmpConnectionClose(void);
+extern int create_view (char **);
+extern int create_user (char **);
+extern int create_community (char **);
+extern void tokenize (char *, char **, int);
#endif /* SQUID_SNMP */
extern void AppendUdp(icpUdpData *);
extern void stat_init(cacheinfo **, const char *);
extern void pconnHistCount(int, int);
extern void statAvgInit(void);
+extern int statMemoryAccounted(void);
/* To reduce memory fragmentation, we now store the memory version of an
* object in fixed size blocks of size PAGE_SIZE and instead of calling
/*
- * $Id: stat.cc,v 1.178 1997/12/02 00:17:43 wessels Exp $
+ * $Id: stat.cc,v 1.179 1997/12/03 01:31:40 wessels Exp $
*
* DEBUG: section 18 Cache Manager Statistics
* AUTHOR: Harvest Derived
static void proto_newobject(cacheinfo *, protocol_t, int, int);
static void proto_purgeobject(cacheinfo *, protocol_t, int);
static void proto_touchobject(cacheinfo *, protocol_t, int);
-int memoryAccounted(void);
static void statAvgTick(void *notused);
#ifdef XMALLOC_STATISTICS
}
int
-memoryAccounted(void)
+statMemoryAccounted(void)
{
return (int)
meta_data.store_entries * sizeof(StoreEntry) +
storeAppendPrintf(sentry, "{\t%-25.25s = %6d KB}\n",
"Total Accounted",
- memoryAccounted() >> 10);
+ statMemoryAccounted() >> 10);
#if XMALLOC_STATISTICS
storeAppendPrintf(sentry, "{Memory allocation statistics}\n");