/*
- * $Id: util.h,v 1.59 2001/02/07 18:56:50 hno Exp $
+ * $Id: util.h,v 1.60 2001/06/29 14:48:07 hno Exp $
*
* AUTHOR: Harvest Derived
*
extern void *xrealloc(void *, size_t);
extern void Tolower(char *);
extern void xfree(void *);
-extern void xxfree(void *);
+extern void xxfree(const void *);
/* rfc1738.c */
extern char *rfc1738_escape(const char *);
/*
- * $Id: util.c,v 1.78 2001/04/10 17:00:50 hno Exp $
+ * $Id: util.c,v 1.79 2001/06/29 14:48:06 hno Exp $
*
* DEBUG:
* AUTHOR: Harvest Derived
/* xxfree() - like xfree(), but we already know s != NULL */
void
-xxfree(void *s)
+xxfree(const void *s_const)
{
+ void *s = (void *)s_const;
#if XMALLOC_TRACE
xmalloc_show_trace(s, -1);
#endif
/*
- * $Id: structs.h,v 1.391 2001/06/29 14:37:51 hno Exp $
+ * $Id: structs.h,v 1.392 2001/06/29 14:48:06 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
#if URL_CHECKSUM_DEBUG
unsigned int chksum;
#endif
- char *vary_headers;
+ const char *vary_headers;
};
struct _StoreEntry {
err_type err_type;
char *peer_login; /* Configured peer login:password */
time_t lastmod; /* Used on refreshes */
- char *vary_headers; /* Used when varying entities are detected. Changes how the store key is calculated */
+ const char *vary_headers; /* Used when varying entities are detected. Changes how the store key is calculated */
};
struct _cachemgr_passwd {