Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/source/wl_proto.hh') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/wl_proto.hh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.hh b/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.hh new file mode 100644 index 0000000..f755589 --- a/dev/null +++ b/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.hh | |||
@@ -0,0 +1,28 @@ | |||
1 | /* $Id$ */ | ||
2 | |||
3 | #ifndef WLPROTO_HH | ||
4 | #define WLPROTO_HH | ||
5 | |||
6 | #include <stdio.h> | ||
7 | #include <string.h> | ||
8 | #include <stdlib.h> | ||
9 | |||
10 | /* Type definitions, to be continued */ | ||
11 | #define NETFOUND 01 | ||
12 | #define NETLOST 02 | ||
13 | #define STARTSNIFF 98 | ||
14 | #define STOPSNIFF 99 | ||
15 | |||
16 | int send_network_found (const char *, int, void *); | ||
17 | int get_network_found (void *, const char *); | ||
18 | |||
19 | typedef struct { | ||
20 | int net_type; /* 1 = Accesspoint ; 2 = Ad-Hoc */ | ||
21 | int ssid_len; /* Length of SSID */ | ||
22 | int channel; /* Channel */ | ||
23 | int wep; /* 1 = WEP enabled ; 0 = disabled */ | ||
24 | char mac[64]; /* MAC address of Accesspoint */ | ||
25 | char bssid[128]; /* BSSID of Accesspoint */ | ||
26 | } wl_network_t; | ||
27 | |||
28 | #endif /* WLPROTO_HH */ | ||