aboutsummaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-11-28 15:48:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-11-28 15:48:23 +0000
commit113850a7483068848cbc42ab129d18452af41d24 (patch)
treecb640a3b5d7d3cc271a032780138f9c43d1c56ed /lib/http.h
parent1c49a00d64fc3b5cf64c0f082d4558caf14cb684 (diff)
added compareheader proto
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h
index d78322ce5..2f40ea1ff 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -24,6 +24,10 @@
* $Id$
***************************************************************************/
#ifndef CURL_DISABLE_HTTP
+bool Curl_compareheader(char *headerline, /* line to check */
+ const char *header, /* header keyword _with_ colon */
+ const char *content); /* content string to find */
+
/* ftp can use this as well */
CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
int tunnelsocket,