From 40a5f980d11b9f54ecd595c692e814a9655d6221 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 17 Apr 2018 17:00:04 +0200 Subject: Add new function to retrieve HTTP response code Change-Id: I1d01c95d6418646ef9d2f8f4b07210a33b10c117 Signed-off-by: Romain Forlot --- curl-wrap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'curl-wrap.h') diff --git a/curl-wrap.h b/curl-wrap.h index a6106e4..3b42ef4 100644 --- a/curl-wrap.h +++ b/curl-wrap.h @@ -29,6 +29,8 @@ extern void curl_wrap_do(CURL *curl, void (*callback)(void *closure, int status, extern int curl_wrap_content_type_is (CURL * curl, const char *value); +extern long curl_wrap_response_code_get(CURL *curl); + extern CURL *curl_wrap_prepare_get_url(const char *url); extern CURL *curl_wrap_prepare_get(const char *base, const char *path, const char * const *args); -- cgit 1.2.3-korg