/* cache_hash.c */
void HSH_Prealloc(const struct sess *sp);
int HSH_Compare(const struct sess *sp, const struct objhead *o);
-void HSH_Copy(struct sess *sp, const struct objhead *o);
+void HSH_Copy(const struct sess *sp, const struct objhead *o);
struct object *HSH_Lookup(struct sess *sp);
void HSH_Unbusy(struct object *o);
void HSH_Ref(struct object *o);
int http_GetStatus(const struct http *hp);
const char *http_GetReq(const struct http *hp);
const char *http_GetProto(const struct http *hp);
-int http_HdrIs(struct http *hp, const char *hdr, const char *val);
+int http_HdrIs(const struct http *hp, const char *hdr, const char *val);
int http_GetTail(struct http *hp, unsigned len, char **b, char **e);
int http_Read(struct http *hp, int fd, void *b, unsigned len);
void http_RecvPrep(struct http *hp);
/*--------------------------------------------------------------------*/
int
-http_HdrIs(struct http *hp, const char *hdr, const char *val)
+http_HdrIs(const struct http *hp, const const char *hdr, const char *val)
{
char *p;
}
static int
-cmp_storage(const struct stevedore *s, const const char *p, const char *q)
+cmp_storage(const struct stevedore *s, const char *p, const char *q)
{
if (strlen(s->name) != q - p)
return (1);