generic GetRandomRputer

This commit is contained in:
orignal 2014-09-24 21:45:19 -04:00
parent ec624c89b2
commit 08ff685de8
2 changed files with 22 additions and 3 deletions

View file

@ -105,6 +105,9 @@ namespace data
bool isLeaseSet, bool isExploratory = false, i2p::tunnel::TunnelPool * pool = nullptr);
bool DeleteRequestedDestination (const IdentHash& dest); // returns true if found
void DeleteRequestedDestination (RequestedDestination * dest);
template<typename Filter>
const RouterInfo * GetRandomRouter (Filter filter) const;
private: