mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-07-02 02:34:36 +02:00
Reformat code
This commit is contained in:
parent
3ddb370718
commit
55534ea002
140 changed files with 46068 additions and 48277 deletions
|
@ -18,31 +18,26 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
void C_InitI2P (int argc, char *argv[], const char * appName)
|
||||
{
|
||||
std::cout << argv;
|
||||
return i2p::api::InitI2P(argc, argv, appName);
|
||||
void C_InitI2P(int argc, char *argv[], const char *appName) {
|
||||
std::cout << argv;
|
||||
return i2p::api::InitI2P(argc, argv, appName);
|
||||
}
|
||||
|
||||
void C_TerminateI2P ()
|
||||
{
|
||||
return i2p::api::TerminateI2P();
|
||||
void C_TerminateI2P() {
|
||||
return i2p::api::TerminateI2P();
|
||||
}
|
||||
|
||||
void C_StartI2P ()
|
||||
{
|
||||
std::shared_ptr<std::ostream> logStream;
|
||||
return i2p::api::StartI2P(logStream);
|
||||
void C_StartI2P() {
|
||||
std::shared_ptr<std::ostream> logStream;
|
||||
return i2p::api::StartI2P(logStream);
|
||||
}
|
||||
|
||||
void C_StopI2P ()
|
||||
{
|
||||
return i2p::api::StopI2P();
|
||||
void C_StopI2P() {
|
||||
return i2p::api::StopI2P();
|
||||
}
|
||||
|
||||
void C_RunPeerTest ()
|
||||
{
|
||||
return i2p::api::RunPeerTest();
|
||||
void C_RunPeerTest() {
|
||||
return i2p::api::RunPeerTest();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue