mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Replace any direct curl usage by httpfetch
This commit is contained in:
parent
b03135548b
commit
0d990bd189
6 changed files with 42 additions and 83 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue