i2pd/api/api.h

22 lines
479 B
C
Raw Normal View History

2014-11-17 18:37:40 +01:00
#ifndef API_H__
#define API_H__
2014-11-17 23:00:30 +01:00
#include "Identity.h"
2014-11-17 18:37:40 +01:00
namespace i2p
{
namespace api
{
2014-11-17 20:42:45 +01:00
void InitI2P (int argc, char* argv[]);
void StartI2P ();
void StopI2P ();
2014-11-17 23:00:30 +01:00
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);
2014-11-17 18:37:40 +01:00
}
}
#endif