fixed race condition of openssl calls

This commit is contained in:
orignal 2015-12-31 16:02:10 -05:00
parent 8daa7561fa
commit ef4dc3cbc9
5 changed files with 45 additions and 3 deletions

1
api.h
View file

@ -13,6 +13,7 @@ namespace api
{
// initialization start and stop
void InitI2P (int argc, char* argv[], const char * appName);
void TerminateI2P ();
void StartI2P (std::ostream * logStream = nullptr);
// write system log to logStream, if not specified to <appName>.log in application's folder
void StopI2P ();