Noise: Prevent unittest crash caused by division by zero
[oweals/minetest.git] / src / convert_json.h
index 3fa9903b1e617d9506b787a997145e0b20923127..b5831884fa98a7446f7c6c860608a40681c76585 100644 (file)
@@ -20,15 +20,9 @@ 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;
-
-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