diff options
author | Mike Hommey <mh@glandium.org> | 2009-06-06 16:43:53 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-06 10:56:27 -0700 |
commit | e929cd20bb3557833765f95fe0e9143a47f806e7 (patch) | |
tree | dd136a97f02f20db4402173cbd270f8ac04fd830 /bundle.h | |
parent | 5ace994f3384726fa993de526fc059d1343a6463 (diff) | |
download | git-e929cd20bb3557833765f95fe0e9143a47f806e7.tar.gz |
http.c: new functions for the http API
The new functions added are:
- http_request() (internal function)
- http_get_strbuf()
- http_get_file()
- http_error()
http_get_strbuf and http_get_file allow respectively to retrieve contents of
an URL to a strbuf or an opened file handle.
http_error prints out an error message containing the URL and the curl error
(in curl_errorstr).
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bundle.h')
0 files changed, 0 insertions, 0 deletions