MobileApple80211.h
Go to the documentation of this file.
00001 #ifndef MOBILEAPPLE80211_H
00002 #define MOBILEAPPLE80211_H
00003 
00004 /*
00005  * MobileApple80211 interface for iPhone/iPod touch
00006  * These functions are available from Aeropuerto.
00007  */
00008 
00009 struct Apple80211;
00010 typedef struct Apple80211 *Apple80211Ref;
00011 
00012 int Apple80211Open(Apple80211Ref *ctx);
00013 int Apple80211Close(Apple80211Ref ctx);
00014 int Apple80211GetIfListCopy(Apple80211Ref handle, CFArrayRef *list);
00015 int Apple80211BindToInterface(Apple80211Ref handle,
00016                               CFStringRef interface);
00017 int Apple80211GetInterfaceNameCopy(Apple80211Ref handle,
00018                                    CFStringRef *name);
00019 int Apple80211GetInfoCopy(Apple80211Ref handle,
00020                           CFDictionaryRef *info);
00021 int Apple80211GetPower(Apple80211Ref handle, char *pwr);
00022 int Apple80211SetPower(Apple80211Ref handle, char pwr);
00023 
00024 /* parameters can be NULL; returns scan results in CFArrayRef *list;
00025  * caller will need to free with CFRelease() */
00026 int Apple80211Scan(Apple80211Ref handle, CFArrayRef *list,
00027                    CFDictionaryRef parameters);
00028 
00029 int Apple80211Associate(Apple80211Ref handle, CFDictionaryRef bss,
00030                         CFStringRef password);
00031 int Apple80211AssociateAndCopyInfo(Apple80211Ref handle, CFDictionaryRef bss,
00032                                    CFStringRef password,
00033                                    CFDictionaryRef *info);
00034 
00035 enum {
00036         APPLE80211_VALUE_SSID = 1,
00037         APPLE80211_VALUE_BSSID = 9
00038 };
00039 
00040 int Apple80211CopyValue(Apple80211Ref handle, int field, CFDictionaryRef arg2,
00041                         void *value);
00042 
00043 #endif /* MOBILEAPPLE80211_H */


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:35