Implement the PacketGetVersion() routine, which is used in
the 0.4.x versions of wpa_supplicant.
This commit is contained in:
parent
f568b9c967
commit
bcc6df344c
@ -99,6 +99,12 @@ struct adapter {
|
||||
char name[IFNAMSIZ];
|
||||
};
|
||||
|
||||
PCHAR
|
||||
PacketGetVersion(void)
|
||||
{
|
||||
return("FreeBSD WinPcap compatibility shim v1.0");
|
||||
}
|
||||
|
||||
void *
|
||||
PacketOpenAdapter(iface)
|
||||
CHAR *iface;
|
||||
|
@ -47,6 +47,7 @@ struct PACKET_OID_DATA {
|
||||
|
||||
typedef struct PACKET_OID_DATA PACKET_OID_DATA;
|
||||
|
||||
extern PCHAR PacketGetVersion(void);
|
||||
extern void *PacketOpenAdapter(CHAR *);
|
||||
extern int PacketRequest(void *, BOOLEAN, PACKET_OID_DATA *);
|
||||
extern int PacketGetAdapterNames(CHAR *, ULONG *);
|
||||
|
@ -21,6 +21,7 @@
|
||||
#define BOOLEAN uint8_t
|
||||
typedef void * LPADAPTER;
|
||||
typedef char * PTSTR;
|
||||
typedef char * PCHAR;
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user