From 0d990bd189881a9a6c829e1c9ec17b2dc5ac12c8 Mon Sep 17 00:00:00 2001 From: sapier Date: Sat, 9 Nov 2013 22:49:27 +0100 Subject: Replace any direct curl usage by httpfetch --- src/httpfetch.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/httpfetch.h') diff --git a/src/httpfetch.h b/src/httpfetch.h index 6eb01fe79..f06c50e2c 100644 --- a/src/httpfetch.h +++ b/src/httpfetch.h @@ -27,6 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc., // Can be used in place of "caller" in asynchronous transfers to discard result // (used as default value of "caller") #define HTTPFETCH_DISCARD 0 +#define HTTPFETCH_SYNC 1 struct HTTPFetchRequest { @@ -96,6 +97,7 @@ struct HTTPFetchResult caller = fetchrequest.caller; request_id = fetchrequest.request_id; } + }; // Initializes the httpfetch module -- cgit v1.2.3