blob: b6f3b9d176ee30cd0e0e6a2cc9f8281591f4298f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef foointerfacehfoo
#define foointerfacehfoo
#include <sys/socket.h>
#include "wireless.h"
#include "util.h"
struct interface {
char name[IFNAMSIZ+1];
int fd;
};
struct interface *interface_open(char *name);
void interface_close(struct interface *i);
int interface_is_assoc(struct interface *i, struct hw_addr *a);
#endif
|