68d2413bec
Export the the global switch states to rfkill-input. This is needed to properly implement KEY_* handling without disregarding the initial state. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
19 lines
522 B
C
19 lines
522 B
C
/*
|
|
* Copyright (C) 2007 Ivo van Doorn
|
|
*/
|
|
|
|
/*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __RFKILL_INPUT_H
|
|
#define __RFKILL_INPUT_H
|
|
|
|
void rfkill_switch_all(enum rfkill_type type, enum rfkill_state state);
|
|
void rfkill_epo(void);
|
|
void rfkill_restore_states(void);
|
|
enum rfkill_state rfkill_get_global_state(const enum rfkill_type type);
|
|
|
|
#endif /* __RFKILL_INPUT_H */
|