IOKit - getNetworkData
IOKit - getNetworkData
- Subject: IOKit - getNetworkData
- From: Wade Tregaskis <email@hidden>
- Date: Sat, 4 Mar 2000 17:29:48 +1100
I've managed to deduce [somewhat randomly] that I need to get an
IONetworkData object from an IONetworkInterface [I think]. The problem is
that even when I include IONetworkData.h from IOKit, I'm unable to declare
a variable or pointer to an IONetworkData instance. The following fails:
#import <IOKit/network/IONetworkData.h>
int main(int argc, const char *argv[]) {
IONetworkData* myData;
...
}
IONetworkData is clearly defined [in my eyes] in the header file, but, to
no avail. This is obviously a typical newbie error, but anyone want to be
nice and help me out anyway? :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.