repo.or.cz
/
dockapps.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
wmail: removed superfluous continue.
[dockapps.git]
/
wmwifi
/
wireless.h
blob
c8a6ebf05ee039384e454915dc2cf5dc894a665a
1
/* Standard headers */
2
#include <sys/types.h>
3
#include <sys/ioctl.h>
4
#include <stdio.h>
5
#include <math.h>
6
#include <errno.h>
7
#include <fcntl.h>
8
#include <ctype.h>
9
#include <stdlib.h>
10
#include <string.h>
11
#include <unistd.h>
12
#include <netdb.h>
/* gethostbyname, getnetbyname */
13
#include <net/ethernet.h>
/* struct ether_addr */
14
#include <sys/time.h>
/* struct timeval */
15
16
int
get_max_qual
(
char
ifname
[
255
]);
17
struct
wifi
wifi_info
(
void
);
18
struct
wifi
{
19
char
ifname
[
255
];
20
int
ifnum
;
21
int
link
;
22
char
level
[
255
];
23
char
noise
[
255
];
24
float
max_qual
;
25
float
status
;
26
};