mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
Making NetDb and Profiling use generic storage
This commit is contained in:
parent
8cf18fd2e3
commit
262d22b903
4 changed files with 107 additions and 60 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <memory>
|
||||
#include <boost/date_time/posix_time/posix_time.hpp>
|
||||
#include "Identity.h"
|
||||
#include "Storage.h"
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
|
@ -61,6 +62,9 @@ namespace data
|
|||
std::shared_ptr<RouterProfile> GetRouterProfile (const IdentHash& identHash);
|
||||
void InitProfilesStorage ();
|
||||
void DeleteObsoleteProfiles ();
|
||||
bool BeginProfilesStorageUpdate();
|
||||
bool EndProfilesStorageUpdate();
|
||||
void DeInitProfilesStorage();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue