#include "includes.h"
#include <dlfcn.h>
#include "common.h"
#include <CoreFoundation/CoreFoundation.h>
#include "MobileApple80211.h"
Go to the source code of this file.
Defines | |
#define | DLSYM(s) |
Functions | |
__attribute__ ((destructor)) | |
__attribute__ ((constructor)) | |
int | _Apple80211Initialized (void) |
int | Apple80211Associate (Apple80211Ref handle, CFDictionaryRef bss, CFStringRef password) |
int | Apple80211AssociateAndCopyInfo (Apple80211Ref handle, CFDictionaryRef bss, CFStringRef password, CFDictionaryRef *info) |
int | Apple80211BindToInterface (Apple80211Ref handle, CFStringRef interface) |
int | Apple80211Close (Apple80211Ref ctx) |
int | Apple80211CopyValue (Apple80211Ref handle, int field, CFDictionaryRef arg2, void *value) |
int | Apple80211GetIfListCopy (Apple80211Ref handle, CFArrayRef *list) |
int | Apple80211GetInfoCopy (Apple80211Ref handle, CFDictionaryRef *info) |
int | Apple80211GetInterfaceNameCopy (Apple80211Ref handle, CFStringRef *name) |
int | Apple80211GetPower (Apple80211Ref handle, char *pwr) |
int | Apple80211Open (Apple80211Ref *ctx) |
int | Apple80211Scan (Apple80211Ref handle, CFArrayRef *list, CFDictionaryRef parameters) |
int | Apple80211SetPower (Apple80211Ref handle, char pwr) |
Variables | |
static int(* | __Apple80211Associate )(Apple80211Ref handle, CFDictionaryRef bss, CFStringRef password) = NULL |
static int(* | __Apple80211AssociateAndCopyInfo )(Apple80211Ref handle, CFDictionaryRef bss, CFStringRef password, CFDictionaryRef *info) |
static int(* | __Apple80211BindToInterface )(Apple80211Ref handle, CFStringRef interface) = NULL |
static int(* | __Apple80211Close )(Apple80211Ref ctx) = NULL |
static int(* | __Apple80211CopyValue )(Apple80211Ref handle, int field, CFDictionaryRef arg2, void *value) = NULL |
static int(* | __Apple80211GetIfListCopy )(Apple80211Ref handle, CFArrayRef *list) = NULL |
static int(* | __Apple80211GetInfoCopy )(Apple80211Ref handle, CFDictionaryRef *info) = NULL |
static int(* | __Apple80211GetInterfaceNameCopy )(Apple80211Ref handle, CFStringRef *name) = NULL |
static int(* | __Apple80211GetPower )(Apple80211Ref handle, char *pwr) = NULL |
static int(* | __Apple80211Open )(Apple80211Ref *ctx) = NULL |
static int(* | __Apple80211Scan )(Apple80211Ref handle, CFArrayRef *list, CFDictionaryRef parameters) = NULL |
static int(* | __Apple80211SetPower )(Apple80211Ref handle, char pwr) = NULL |
static void * | aeropuerto = NULL |
#define DLSYM | ( | s | ) |
do { \ __ ## s = dlsym(aeropuerto, #s); \ if (__ ## s == NULL) { \ wpa_printf(MSG_ERROR, "MobileApple80211: Could not resolve " \ "symbol '" #s "' (%s)", dlerror()); \ err = 1; \ } \ } while (0)
Definition at line 137 of file MobileApple80211.c.
__attribute__ | ( | (destructor) | ) |
Definition at line 182 of file MobileApple80211.c.
__attribute__ | ( | (constructor) | ) |
Definition at line 148 of file MobileApple80211.c.
int _Apple80211Initialized | ( | void | ) |
Definition at line 17 of file MobileApple80211.c.
int Apple80211Associate | ( | Apple80211Ref | handle, | |
CFDictionaryRef | bss, | |||
CFStringRef | password | |||
) |
Definition at line 107 of file MobileApple80211.c.
int Apple80211AssociateAndCopyInfo | ( | Apple80211Ref | handle, | |
CFDictionaryRef | bss, | |||
CFStringRef | password, | |||
CFDictionaryRef * | info | |||
) |
Definition at line 120 of file MobileApple80211.c.
int Apple80211BindToInterface | ( | Apple80211Ref | handle, | |
CFStringRef | interface | |||
) |
Definition at line 51 of file MobileApple80211.c.
int Apple80211Close | ( | Apple80211Ref | ctx | ) |
Definition at line 33 of file MobileApple80211.c.
int Apple80211CopyValue | ( | Apple80211Ref | handle, | |
int | field, | |||
CFDictionaryRef | arg2, | |||
void * | value | |||
) |
Definition at line 130 of file MobileApple80211.c.
int Apple80211GetIfListCopy | ( | Apple80211Ref | handle, | |
CFArrayRef * | list | |||
) |
Definition at line 42 of file MobileApple80211.c.
int Apple80211GetInfoCopy | ( | Apple80211Ref | handle, | |
CFDictionaryRef * | info | |||
) |
Definition at line 71 of file MobileApple80211.c.
int Apple80211GetInterfaceNameCopy | ( | Apple80211Ref | handle, | |
CFStringRef * | name | |||
) |
Definition at line 61 of file MobileApple80211.c.
int Apple80211GetPower | ( | Apple80211Ref | handle, | |
char * | pwr | |||
) |
Definition at line 80 of file MobileApple80211.c.
int Apple80211Open | ( | Apple80211Ref * | ctx | ) |
Definition at line 25 of file MobileApple80211.c.
int Apple80211Scan | ( | Apple80211Ref | handle, | |
CFArrayRef * | list, | |||
CFDictionaryRef | parameters | |||
) |
Definition at line 97 of file MobileApple80211.c.
int Apple80211SetPower | ( | Apple80211Ref | handle, | |
char | pwr | |||
) |
Definition at line 88 of file MobileApple80211.c.
int(* __Apple80211Associate)(Apple80211Ref handle, CFDictionaryRef bss, CFStringRef password) = NULL [static] |
Definition at line 104 of file MobileApple80211.c.
int(* __Apple80211AssociateAndCopyInfo)(Apple80211Ref handle, CFDictionaryRef bss, CFStringRef password, CFDictionaryRef *info) [static] |
Definition at line 114 of file MobileApple80211.c.
int(* __Apple80211BindToInterface)(Apple80211Ref handle, CFStringRef interface) = NULL [static] |
Definition at line 48 of file MobileApple80211.c.
int(* __Apple80211Close)(Apple80211Ref ctx) = NULL [static] |
Definition at line 31 of file MobileApple80211.c.
int(* __Apple80211CopyValue)(Apple80211Ref handle, int field, CFDictionaryRef arg2, void *value) = NULL [static] |
Definition at line 127 of file MobileApple80211.c.
int(* __Apple80211GetIfListCopy)(Apple80211Ref handle, CFArrayRef *list) = NULL [static] |
Definition at line 39 of file MobileApple80211.c.
int(* __Apple80211GetInfoCopy)(Apple80211Ref handle, CFDictionaryRef *info) = NULL [static] |
Definition at line 68 of file MobileApple80211.c.
int(* __Apple80211GetInterfaceNameCopy)(Apple80211Ref handle, CFStringRef *name) = NULL [static] |
Definition at line 58 of file MobileApple80211.c.
int(* __Apple80211GetPower)(Apple80211Ref handle, char *pwr) = NULL [static] |
Definition at line 78 of file MobileApple80211.c.
int(* __Apple80211Open)(Apple80211Ref *ctx) = NULL [static] |
Definition at line 23 of file MobileApple80211.c.
int(* __Apple80211Scan)(Apple80211Ref handle, CFArrayRef *list, CFDictionaryRef parameters) = NULL [static] |
Definition at line 94 of file MobileApple80211.c.
int(* __Apple80211SetPower)(Apple80211Ref handle, char pwr) = NULL [static] |
Definition at line 86 of file MobileApple80211.c.
void* aeropuerto = NULL [static] |
Definition at line 14 of file MobileApple80211.c.