Revision: 14597
Author: adrian.chadd
Date: Tue Apr 13 20:38:00 2010
Log: Issue #108 - export httpHeaderRepack() so it can be used by
the testing framework.
http://code.google.com/p/lusca-cache/source/detail?r=14597
Modified:
/branches/LUSCA_HEAD/libhttp/HttpHeader.c
/branches/LUSCA_HEAD/libhttp/HttpHeader.h
=======================================
--- /branches/LUSCA_HEAD/libhttp/HttpHeader.c Wed Mar 24 08:06:03 2010
+++ /branches/LUSCA_HEAD/libhttp/HttpHeader.c Tue Apr 13 20:38:00 2010
@@ -615,7 +615,7 @@
}
}
-static void
+void
httpHeaderRepack(HttpHeader * hdr)
{
HttpHeaderPos dp = HttpHeaderInitPos;
=======================================
--- /branches/LUSCA_HEAD/libhttp/HttpHeader.h Mon Jan 12 17:46:34 2009
+++ /branches/LUSCA_HEAD/libhttp/HttpHeader.h Tue Apr 13 20:38:00 2010
@@ -70,6 +70,8 @@
extern const char *httpHeaderNameById(int id);
extern int httpHeaderHas(const HttpHeader * hdr, http_hdr_type id);
extern void httpHeaderRefreshMask(HttpHeader * hdr);
+extern void httpHeaderRepack(HttpHeader * hdr);
+
/* append/update */
extern void httpHeaderUpdate(HttpHeader * old, const HttpHeader * fresh,
const HttpHeaderMask * denied_mask);
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.