mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
read tunnels.cfg using property tree
This commit is contained in:
parent
09f1966e5f
commit
5a31d2e817
2 changed files with 63 additions and 0 deletions
|
@ -17,6 +17,13 @@ namespace i2p
|
|||
{
|
||||
namespace client
|
||||
{
|
||||
const char I2P_TUNNELS_SECTION_CLIENT[] = "client";
|
||||
const char I2P_TUNNELS_SECTION_SERVER[] = "server";
|
||||
const char I2P_CLIENT_TUNNEL_PORT1[] = "port";
|
||||
const char I2P_CLIENT_TUNNEL_DESTINATION1[] = "destination";
|
||||
const char I2P_CLIENT_TUNNEL_KEYS1[] = "keys";
|
||||
const char I2P_CLIENT_TUNNEL_DESTINATION_PORT1[] = "destinationport";
|
||||
|
||||
const char I2P_CLIENT_TUNNEL_NAME[] = "client.name";
|
||||
const char I2P_CLIENT_TUNNEL_PORT[] = "client.port";
|
||||
const char I2P_CLIENT_TUNNEL_DESTINATION[] = "client.destination";
|
||||
|
@ -52,6 +59,7 @@ namespace client
|
|||
private:
|
||||
|
||||
void ReadTunnels ();
|
||||
void ReadTunnels1 (); // using propery tree
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue