mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-18 02:50:47 -04:00
Net, Dht and Configuration changes.
* set PortForward in NetStateBox when the Network has been setup. * add GeneralConfig to rsConfig external interface. * enabled ADVANCED configuration option. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4500 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a1e112934d
commit
31ec7a074b
7 changed files with 96 additions and 9 deletions
|
@ -28,6 +28,8 @@ class pqiNetStateBox
|
|||
void setAddressNatPMP(bool active, struct sockaddr_in *addr);
|
||||
void setAddressWebIP(bool active, struct sockaddr_in *addr);
|
||||
|
||||
void setPortForwarded(bool active, uint16_t port);
|
||||
|
||||
void setDhtState(bool dhtOn, bool dhtActive);
|
||||
|
||||
uint32_t getNetStateMode();
|
||||
|
@ -89,7 +91,7 @@ class pqiNetStateBox
|
|||
bool mWebIPActive;
|
||||
time_t mWebIPTS;
|
||||
|
||||
bool mPortForwardedSet;
|
||||
bool mPortForwardSet;
|
||||
uint16_t mPortForwarded;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue