wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rfkill.h
Go to the documentation of this file.
1 
5 #ifndef RFKILL_H
6 #define RFKILL_H
7 
8 struct rfkill_data;
9 
10 struct rfkill_config {
11  void *ctx;
12  char ifname[IFNAMSIZ];
13  void (*blocked_cb)(void *ctx);
14  void (*unblocked_cb)(void *ctx);
15 };
16 
17 struct rfkill_data * rfkill_init(struct rfkill_config *cfg);
18 void rfkill_deinit(struct rfkill_data *rfkill);
19 int rfkill_is_blocked(struct rfkill_data *rfkill);
20 
21 #endif /* RFKILL_H */
Definition: rfkill.h:10
Definition: rfkill.c:42