mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
http.c: make finish_active_slot() and handle_curl_result() static
They used to be used directly by remote-curl.c for the smart-http
protocol. But they got wrapped by run_one_slot() in beed336 (http:
never use curl_easy_perform, 2014-02-18). Any future users are
expected to follow that route.
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
2
http.h
2
http.h
@@ -85,9 +85,7 @@ extern curlioerr ioctl_buffer(CURL *handle, int cmd, void *clientp);
|
||||
extern struct active_request_slot *get_active_slot(void);
|
||||
extern int start_active_slot(struct active_request_slot *slot);
|
||||
extern void run_active_slot(struct active_request_slot *slot);
|
||||
extern void finish_active_slot(struct active_request_slot *slot);
|
||||
extern void finish_all_active_slots(void);
|
||||
extern int handle_curl_result(struct slot_results *results);
|
||||
|
||||
/*
|
||||
* This will run one slot to completion in a blocking manner, similar to how
|
||||
|
||||
Reference in New Issue
Block a user