2 * Linux rfkill helper functions for driver wrappers
3 * Copyright (c) 2010, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
14 struct rfkill_config {
16 char ifname[IFNAMSIZ];
17 void (*blocked_cb)(void *ctx);
18 void (*unblocked_cb)(void *ctx);
21 struct rfkill_data * rfkill_init(struct rfkill_config *cfg);
22 void rfkill_deinit(struct rfkill_data *rfkill);
23 int rfkill_is_blocked(struct rfkill_data *rfkill);