mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
create local destination through API
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef API_H__
|
||||
#define API_H__
|
||||
|
||||
#include "Identity.h"
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
namespace api
|
||||
@@ -8,6 +10,10 @@ namespace api
|
||||
void InitI2P (int argc, char* argv[]);
|
||||
void StartI2P ();
|
||||
void StopI2P ();
|
||||
|
||||
i2p::client::ClientDestination * CreateLocalDestination (const i2p::data::PrivateKeys& keys);
|
||||
i2p::client::ClientDestination * CreateLocalDestination (i2p::data::SigningKeyType sigType = i2p::data::SIGNING_KEY_TYPE_DSA_SHA1);
|
||||
void DestoroyLocalDestination (i2p::client::ClientDestination * dest);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user