* Adapted headers after Stippi's suggestions - I won't add the const until I

know how I implement that function :-)
* Cleaned up libbnetapi.so Jamfile, removed non-Haiku target code.
* Added empty files to the build to see that the headers are compiling.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37942 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-08-06 13:22:25 +00:00
parent 1f9c8c4576
commit bf58f252de
6 changed files with 39 additions and 49 deletions
+3 -3
View File
@@ -65,14 +65,14 @@ public:
status_t SetFlags(uint32 flags);
status_t SetMTU(uint32 mtu);
uint32 CountAddresses() const;
BNetworkInterfaceAddress* AddressAt(uint32 index);
int32 CountAddresses() const;
BNetworkInterfaceAddress* AddressAt(int32 index);
status_t AddAddress(
const BNetworkInterfaceAddress& address);
status_t RemoveAddress(
const BNetworkInterfaceAddress& address);
status_t RemoveAddressAt(uint32 index);
status_t RemoveAddressAt(int32 index);
status_t GetHardwareAddress(BNetworkAddress& address);
+5 -5
View File
@@ -15,16 +15,16 @@ class BNetworkInterface;
class BNetworkRoster {
public:
BNetworkRoster& Default();
static BNetworkRoster& Default();
int32 CountInterfaces();
BNetworkInterface* InterfaceAt(int32 index);
uint32 CountInterfaces();
BNetworkInterface* InterfaceAt(uint32 index);
status_t AddInterface(
const BNetworkInterface& interface);
status_t RemoveInterface(
const BNetworkInterface& interface);
status_t RemoveInterfaceAt(uint32 index);
status_t RemoveInterfaceAt(int32 index);
status_t StartWatching(const BMessenger& target,
uint32 eventMask);