http.c: implement the GIT_TRACE_CURL environment variable
[gitweb.git] / http.h
diff --git a/http.h b/http.h
index 4ef4bbda7d86d8ca5238d45897b277709b30414a..2fb56d0743f7a54448313964d2442c9beef6d6d4 100644 (file)
--- a/http.h
+++ b/http.h
@@ -224,4 +224,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 */