matrix-3ds-sdk/source/util.h

15 lines
332 B
C
Raw Normal View History

2019-10-17 10:45:55 +02:00
#ifndef _UTIL_H_
#define _UTIL_H_
#include <string>
2019-10-18 21:22:10 +02:00
#include <3ds.h>
2019-10-21 10:15:09 +02:00
#include <jansson.h>
2019-10-17 10:45:55 +02:00
std::string urlencode(std::string str);
2019-10-18 21:22:10 +02:00
Result httpcDownloadDataTimeout(httpcContext *context, u8* buffer, u32 size, u32 *downloadedsize, u64 timeout);
2019-10-21 10:15:09 +02:00
char* json_object_get_string_value(json_t* obj, const char* key);
2019-10-17 10:45:55 +02:00
#endif // _UTIL_H_