/* HttpHeader holds a HttpHeaderMask */
#include "HttpHeaderMask.h"
-
/* class forward declarations */
class HttpHdrContRange;
class HttpHdrCc;
class HttpHdrRange;
class String;
-
/* constant attributes of http header fields */
/// recognized or "known" header fields; and the RFC which defines them (or not)
field_type type;
};
-
/** Iteration for headers; use HttpHeaderPos as opaque type, do not interpret */
typedef ssize_t HttpHeaderPos;
HttpHeaderEntry *findLastEntry(http_hdr_type id) const;
};
-
extern int httpHeaderParseQuotedString(const char *start, const int len, String *val);
SQUIDCEXTERN int httpHeaderHasByNameListMember(const HttpHeader * hdr, const char *name, const char *member, const char separator);
SQUIDCEXTERN void httpHeaderUpdate(HttpHeader * old, const HttpHeader * fresh, const HttpHeaderMask * denied_mask);