summaryrefslogtreecommitdiff
path: root/src/storage.h
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2020-01-01 21:27:11 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2020-01-04 21:29:00 +0100
commitb97b503408911130d24d7f07f9247dca8314a316 (patch)
tree3b4202b42bbe51b2cd5b3720e755a804d7872159 /src/storage.h
parentebdbf9a1cd5308bf1c64d8dc912e0ea0e9ac8633 (diff)
Respond to data requests from network
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h
index e675848..68002fa 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -3,11 +3,13 @@
#include "erebos/storage.h"
#include <future>
+#include <unordered_set>
namespace fs = std::filesystem;
using std::optional;
using std::shared_future;
+using std::unordered_set;
using std::vector;
namespace erebos {
@@ -32,4 +34,6 @@ struct Ref::Priv
shared_future<Object> object;
};
+vector<Stored<Object>> collectStoredObjects(const Stored<Object> &);
+
}