wmshutdown: Destroy dialog window before shutting down. This is especially useful...
[dockapps.git] / wmwlmon / wl.h
blob646f6b9b0d9ea870a931da4065741102f24dd73b
1 /* $Id: wl.h,v 1.7 2006/05/04 18:44:47 hacki Exp $ */
3 /*
4 * Copyright (c) 2005, 2006 Marcus Glocker <marcus@nazgul.ch>
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 #ifndef __OpenBSD__
20 #define IFM_TYPE_MATCH(dt, t) (IFM_TYPE((dt)) == 0 || \
21 IFM_TYPE((dt)) == IFM_TYPE((t)))
22 #endif
25 * prototypes
27 int get_wep(const char *);
28 int get_channel(const char *);
29 int get_signal(const char *, const char *);
30 int get_wi_signal(const char *);
31 int check_nic(const char *);
32 char * get_speed(const char *);
33 char * get_status(const char *);
34 char * get_nwid(const char *);
35 char * get_first_wnic(void);
36 char * translate_speed(const char *);