aboutsummaryrefslogtreecommitdiff
path: root/web/storage.h
blob: b491742f6ba04f0c3bf93d0d1e158b74e552b0f7 (plain)
1
2
3
4
5
6
7
8
9
#include <string>
#include <fstream>
#include <emscripten/fetch.h>

namespace storage {
	bool read(std::string key, size_t data_size, char *data);
	bool write(std::string key, size_t data_size, const char *data);
	int download(std::string key, std::string url);
}

Generated with cgit - Back to sebastiano.tronto.net