summaryrefslogtreecommitdiff
path: root/lib/transfer.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-09-08 15:13:42 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-09-11 00:26:17 +0200
commit02eb6184ad6ba6133382dfe24b45472176df92f7 (patch)
tree0c18b8dd868fec7eccbe0f028c95da857db9cc2e /lib/transfer.h
parent7207aaa69696a5d28fbb628954f74ecbe2df97dc (diff)
downloadgnurl-02eb6184ad6ba6133382dfe24b45472176df92f7.tar.gz
gnurl-02eb6184ad6ba6133382dfe24b45472176df92f7.tar.bz2
gnurl-02eb6184ad6ba6133382dfe24b45472176df92f7.zip
Curl_checkheaders: make it available for IMAP and SMTP too
... not only HTTP uses this now. Closes #1875
Diffstat (limited to 'lib/transfer.h')
-rw-r--r--lib/transfer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/transfer.h b/lib/transfer.h
index 518967260..72526a834 100644
--- a/lib/transfer.h
+++ b/lib/transfer.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -22,6 +22,9 @@
*
***************************************************************************/
+char *Curl_checkheaders(const struct connectdata *conn,
+ const char *thisheader);
+
void Curl_init_CONNECT(struct Curl_easy *data);
CURLcode Curl_pretransfer(struct Curl_easy *data);