Add a way to add persistent (configured) wireless_networks that will eventually
be stored by the backend in the net_server. I put it in BNetworkDevice because that is where network enumeration is done as well, but I'm not sure that it fits there particularly well. Since BNetworkDevice::GetNetwork() directly interfaces with the driver and gets the networks from scan results, such persistent networks don't yet show up in those enumerations. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42807 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -97,6 +97,9 @@ public:
|
||||
status_t GetNetwork(const BNetworkAddress& address,
|
||||
wireless_network& network);
|
||||
|
||||
status_t AddPersistentNetwork(
|
||||
const wireless_network& network);
|
||||
|
||||
status_t JoinNetwork(const char* name,
|
||||
const char* password = NULL);
|
||||
status_t JoinNetwork(const wireless_network& network,
|
||||
|
||||
Reference in New Issue
Block a user