Expose getPointedThing to Lua
[oweals/minetest.git] / src / convert_json.h
index 3fa9903b1e617d9506b787a997145e0b20923127..55321af5fe3f51122fe6c16651de344b1ffaf6aa 100644 (file)
@@ -20,7 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef __CONVERT_JSON_H__
 #define __CONVERT_JSON_H__
 
-#include "json/json.h"
+#include <json/json.h>
 
 struct ModStoreMod;
 struct ModStoreModDetails;
@@ -28,7 +28,7 @@ struct ModStoreModDetails;
 std::vector<ModStoreMod>    readModStoreList(Json::Value& modlist);
 ModStoreModDetails          readModStoreModDetails(Json::Value& details);
 
-Json::Value                 fetchJsonValue(const std::string url,
-                                                                                                       struct curl_slist *chunk);
+Json::Value                 fetchJsonValue(const std::string &url,
+                                           std::vector<std::string> *extra_headers);
 
 #endif