summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-07-06 20:38:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-07-06 20:38:06 (GMT)
commit2f84df2ca0f7a5174d2eb5f4ee52324ce8f807b9 (patch)
tree18fef611dc2a9c8f4113235af95da79c76cbd3cb /http.h
parentcf4c2cfe52be5bd973a4838f73a35d3959ce2f43 (diff)
parent73e57aaf4ded85bb5387365f1ebefaabf80cf073 (diff)
downloadgit-2f84df2ca0f7a5174d2eb5f4ee52324ce8f807b9.zip
git-2f84df2ca0f7a5174d2eb5f4ee52324ce8f807b9.tar.gz
git-2f84df2ca0f7a5174d2eb5f4ee52324ce8f807b9.tar.bz2
Merge branch 'ep/http-curl-trace'
HTTP transport gained an option to produce more detailed debugging trace. * ep/http-curl-trace: imap-send.c: introduce the GIT_TRACE_CURL enviroment variable http.c: implement the GIT_TRACE_CURL environment variable
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/http.h b/http.h
index 36f558b..5ab9d9c 100644
--- a/http.h
+++ b/http.h
@@ -225,4 +225,6 @@ extern int finish_http_object_request(struct http_object_request *freq);
extern void abort_http_object_request(struct http_object_request *freq);
extern void release_http_object_request(struct http_object_request *freq);
+/* setup routine for curl_easy_setopt CURLOPT_DEBUGFUNCTION */
+void setup_curl_trace(CURL *handle);
#endif /* HTTP_H */