summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh
authormickeyl <mickeyl>2003-03-30 01:51:14 (UTC)
committer mickeyl <mickeyl>2003-03-30 01:51:14 (UTC)
commitd11a0154e2d9732854c9a3d598857bc20f359849 (patch) (unidiff)
treeaf0e0273d01f4f6c64c9f230f22bb91a7a8a21d8 /noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh
parent99899abc80a8aa05044eeecd8a061b0a8efaa713 (diff)
downloadopie-d11a0154e2d9732854c9a3d598857bc20f359849.zip
opie-d11a0154e2d9732854c9a3d598857bc20f359849.tar.gz
opie-d11a0154e2d9732854c9a3d598857bc20f359849.tar.bz2
- the network work for libopie2 pays off...
- good bye to wellenreiterd, t'was fun but always too unstable and too hard to maintain - good bye to libwellenreiter
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.hh43
1 files changed, 0 insertions, 43 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh b/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh
deleted file mode 100644
index afc105c..0000000
--- a/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh
+++ b/dev/null
@@ -1,43 +0,0 @@
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/* Socket specific */
18#define WL_SOCKBUF 512 /* Buffer for wl_send and wl_recv calls */
19
20/* Channelswitching */
21typedef struct {
22 int type; /* Type of card (chip) */
23 char iface[6]; /* Interface of card */
24} wl_cardtype_t;
25
26
27/* WL network structure */
28typedef struct {
29 int net_type; /* 1 = Accesspoint ; 2 = Ad-Hoc */
30 int ssid_len; /* Length of SSID */
31 int channel; /* Channel */
32 int wep; /* 1 = WEP enabled ; 0 = disabled */
33 char mac[64]; /* MAC address of Accesspoint */
34 char bssid[128]; /* BSSID of Net */
35} wl_network_t;
36
37/* Config specific */
38#define WL_CONFFILE "sample.conf"
39#define WL_CONFBUFF 128
40
41
42#endif /* WL_TYPES_HH */
43