aboutsummaryrefslogtreecommitdiff
path: root/web/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'web/storage.h')
-rw-r--r--web/storage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/storage.h b/web/storage.h
index fa6b748..b491742 100644
--- a/web/storage.h
+++ b/web/storage.h
@@ -1,7 +1,9 @@
1#include <string> 1#include <string>
2#include <fstream> 2#include <fstream>
3#include <emscripten/fetch.h>
3 4
4namespace storage { 5namespace storage {
5 bool read(std::string, size_t, char *); 6 bool read(std::string key, size_t data_size, char *data);
6 bool write(std::string, size_t, const char *); 7 bool write(std::string key, size_t data_size, const char *data);
8 int download(std::string key, std::string url);
7} 9}

Generated with cgit - Back to sebastiano.tronto.net