2022-02-06 20:05:29 -05:00
|
|
|
// Copyright 2015-2018 Nicholas J. Kain <njkain at gmail dot com>
|
|
|
|
// SPDX-License-Identifier: MIT
|
2015-02-13 16:25:36 -05:00
|
|
|
#ifndef NDHC_RFKILL_H_
|
|
|
|
#define NDHC_RFKILL_H_
|
|
|
|
|
2015-02-15 06:38:03 -05:00
|
|
|
enum {
|
|
|
|
RFK_NONE = 0,
|
|
|
|
RFK_FAIL,
|
|
|
|
RFK_ENABLED,
|
|
|
|
RFK_DISABLED,
|
|
|
|
};
|
|
|
|
|
2022-01-11 22:35:19 -05:00
|
|
|
int rfkill_open(bool *enable_rfkill);
|
|
|
|
int rfkill_get(struct client_state_t *cs, int check_idx, uint32_t rfkidx);
|
2015-02-13 16:25:36 -05:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|