mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
publish local LeaseSet
This commit is contained in:
6
NetDb.h
6
NetDb.h
@@ -13,6 +13,7 @@
|
||||
#include "RouterInfo.h"
|
||||
#include "LeaseSet.h"
|
||||
#include "Tunnel.h"
|
||||
#include "TunnelPool.h"
|
||||
#include "AddressBook.h"
|
||||
|
||||
namespace i2p
|
||||
@@ -66,8 +67,9 @@ namespace data
|
||||
|
||||
void Subscribe (const IdentHash& ident); // keep LeaseSets upto date
|
||||
void Unsubscribe (const IdentHash& ident);
|
||||
void RequestDestination (const IdentHash& destination, bool isLeaseSet = false);
|
||||
|
||||
void PublishLeaseSet (const LeaseSet * leaseSet, i2p::tunnel::TunnelPool * pool);
|
||||
void RequestDestination (const IdentHash& destination, bool isLeaseSet = false);
|
||||
|
||||
void HandleDatabaseStoreMsg (uint8_t * buf, size_t len);
|
||||
void HandleDatabaseSearchReplyMsg (I2NPMessage * msg);
|
||||
void HandleDatabaseLookupMsg (I2NPMessage * msg);
|
||||
|
||||
Reference in New Issue
Block a user