Skip to content
Snippets Groups Projects
Commit e447dc5e authored by Simon Désaulniers's avatar Simon Désaulniers
Browse files

removed undefined function in header

parent b7e0f739
No related branches found
No related tags found
No related merge requests found
...@@ -243,13 +243,6 @@ public: ...@@ -243,13 +243,6 @@ public:
int pingNode(const sockaddr*, socklen_t); int pingNode(const sockaddr*, socklen_t);
/**
* Maintains the store. For each storage, if values don't belong there
* anymore because this node is too far from the target, values are sent to
* the appropriate nodes.
*/
void maintainStore(bool force=false);
time_point periodic(const uint8_t *buf, size_t buflen, const sockaddr *from, socklen_t fromlen); time_point periodic(const uint8_t *buf, size_t buflen, const sockaddr *from, socklen_t fromlen);
/** /**
...@@ -886,6 +879,11 @@ private: ...@@ -886,6 +879,11 @@ private:
void expireStorage(); void expireStorage();
void storageChanged(Storage& st, ValueStorage&); void storageChanged(Storage& st, ValueStorage&);
/**
* For a given storage, if values don't belong there anymore because this
* node is too far from the target, values are sent to the appropriate
* nodes.
*/
size_t maintainStorage(InfoHash id, bool force=false, DoneCallback donecb=nullptr); size_t maintainStorage(InfoHash id, bool force=false, DoneCallback donecb=nullptr);
// Buckets // Buckets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment