author | mjm <mjm> | 2002-12-31 12:50:44 (UTC) |
---|---|---|
committer | mjm <mjm> | 2002-12-31 12:50:44 (UTC) |
commit | 4dc5cdc3adc5b4db20508722092b2d02634872ea (patch) (unidiff) | |
tree | a949c4ba22585f4bd46099bb918fe30814cfe01d /noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh | |
parent | 24fce03c32664c02e1acd547375d144260ec5cb7 (diff) | |
download | opie-4dc5cdc3adc5b4db20508722092b2d02634872ea.zip opie-4dc5cdc3adc5b4db20508722092b2d02634872ea.tar.gz opie-4dc5cdc3adc5b4db20508722092b2d02634872ea.tar.bz2 |
global definitions file
Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh b/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh new file mode 100644 index 0000000..a5ca281 --- a/dev/null +++ b/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh | |||
@@ -0,0 +1,31 @@ | |||
1 | /* | ||
2 | * Global bufffer size and type definitions | ||
3 | * | ||
4 | * $Id$ | ||
5 | * | ||
6 | */ | ||
7 | |||
8 | #ifndef WL_TYPES_HH | ||
9 | #define WL_TYPES_HH | ||
10 | |||
11 | /* Type definitions, to be continued */ | ||
12 | #define WL_NETFOUND 01 | ||
13 | #define WL_NETLOST 02 | ||
14 | #define WL_STARTSNIFF 98 | ||
15 | #define WL_STOPSNIFF 99 | ||
16 | |||
17 | #define WL_SOCKBUF 512 /* Buffer for wl_send and wl_recv calls */ | ||
18 | |||
19 | |||
20 | /* WL network structure */ | ||
21 | typedef struct { | ||
22 | int net_type; /* 1 = Accesspoint ; 2 = Ad-Hoc */ | ||
23 | int ssid_len; /* Length of SSID */ | ||
24 | int channel; /* Channel */ | ||
25 | int wep; /* 1 = WEP enabled ; 0 = disabled */ | ||
26 | char mac[64]; /* MAC address of Accesspoint */ | ||
27 | char bssid[128]; /* BSSID of Net */ | ||
28 | } wl_network_t; | ||
29 | |||
30 | #endif /* WL_TYPES_HH */ | ||
31 | |||