Revision: 14606
Author: adrian.chadd
Date: Sat Apr 17 19:09:34 2010
Log: Issue #108 - hide the entry parsing routine; it's about to change a bit.


http://code.google.com/p/lusca-cache/source/detail?r=14606

Modified:
 /branches/LUSCA_HEAD/libhttp/HttpHeaderParse.c
 /branches/LUSCA_HEAD/libhttp/HttpHeaderParse.h

=======================================
--- /branches/LUSCA_HEAD/libhttp/HttpHeaderParse.c      Tue Apr 13 20:49:57 2010
+++ /branches/LUSCA_HEAD/libhttp/HttpHeaderParse.c      Sat Apr 17 19:09:34 2010
@@ -77,6 +77,8 @@
 int httpConfig_relaxed_parser = 0;
 int HeaderEntryParsedCount = 0;

+static HttpHeaderEntry * httpHeaderEntryParseCreate(HttpHeader *hdr, const char *field_start, const char *field_end);
+
 /*
  * -1: invalid header, return error
  * 0: invalid header, don't add, continue
@@ -220,7 +222,7 @@
  */

 /* parses and inits header entry, returns new entry on success */
-HttpHeaderEntry *
+static HttpHeaderEntry *
httpHeaderEntryParseCreate(HttpHeader *hdr, const char *field_start, const char *field_end)
 {
     HttpHeaderEntry *e;
=======================================
--- /branches/LUSCA_HEAD/libhttp/HttpHeaderParse.h      Tue Apr 28 16:33:49 2009
+++ /branches/LUSCA_HEAD/libhttp/HttpHeaderParse.h      Sat Apr 17 19:09:34 2010
@@ -3,7 +3,6 @@


extern int httpHeaderParse(HttpHeader * hdr, const char *header_start, const char *header_end); -extern HttpHeaderEntry * httpHeaderEntryParseCreate(HttpHeader *hdr, const char *field_start, const char *field_end);
 extern int httpHeaderParseInt(const char *start, int *val);
 extern int httpHeaderParseSize(const char *start, squid_off_t * sz);
extern void httpHeaderNoteParsedEntry(http_hdr_type id, String context, int error);

--
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.

Reply via email to