summaryrefslogtreecommitdiff
path: root/src/httpfetch.h
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-11-09 22:49:27 +0100
committerKahrl <kahrl@gmx.net>2013-12-13 18:05:46 +0100
commit0d990bd189881a9a6c829e1c9ec17b2dc5ac12c8 (patch)
tree90474ffb3ca64934aaefaaba92d85f6ff56b9574 /src/httpfetch.h
parentb03135548bbd9bcb73d14b067b96ec913404dd5f (diff)
downloadminetest-0d990bd189881a9a6c829e1c9ec17b2dc5ac12c8.tar.gz
minetest-0d990bd189881a9a6c829e1c9ec17b2dc5ac12c8.tar.bz2
minetest-0d990bd189881a9a6c829e1c9ec17b2dc5ac12c8.zip
Replace any direct curl usage by httpfetch
Diffstat (limited to 'src/httpfetch.h')
-rw-r--r--src/httpfetch.h2
1 files changed, 2 insertions, 0 deletions
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