Implement BNetworkRoster::GetNextRoute()

Implement BNetworkRoster::GetNextRoute() and used it in Network preflet.
This commit is contained in:
Stefano Ceccherini
2013-11-15 21:59:28 +01:00
parent e4b939faa4
commit 0074cea398
3 changed files with 116 additions and 51 deletions
+5
View File
@@ -12,6 +12,7 @@
class BMessenger;
class BNetworkInterface;
struct route_entry;
struct wireless_network;
@@ -30,6 +31,10 @@ public:
status_t RemoveInterface(
const BNetworkInterface& interface);
status_t GetNextRoute(uint32* cookie,
route_entry& entry,
const char* interface = NULL) const;
int32 CountPersistentNetworks() const;
status_t GetNextPersistentNetwork(uint32* cookie,
wireless_network& network) const;