From fa0fa1fcb494483020a736a2bc2c5c639a2bd870 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 26 May 2025 17:05:36 +0200 Subject: Progress with web version --- web/storage.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'web/storage.h') 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 @@ #include #include +#include namespace storage { - bool read(std::string, size_t, char *); - bool write(std::string, size_t, const char *); + 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); } -- cgit v1.3