read: auto-register prefixes for inserted data
Change-Id: Iebddca056a4c74f179f7af7203881adfe1cba777
refs: #4247
diff --git a/src/repo.hpp b/src/repo.hpp
index 382a21e..1f29506 100644
--- a/src/repo.hpp
+++ b/src/repo.hpp
@@ -40,10 +40,13 @@
struct RepoConfig
{
+ static const size_t DISABLED_SUBSET_LENGTH = -1;
+
std::string repoConfigPath;
//StorageMethod storageMethod; This will be implemtented if there is other method.
std::string dbPath;
std::vector<ndn::Name> dataPrefixes;
+ size_t registrationSubset = DISABLED_SUBSET_LENGTH;
std::vector<ndn::Name> repoPrefixes;
std::vector<std::pair<std::string, std::string> > tcpBulkInsertEndpoints;
uint64_t nMaxPackets;