2007-09-27 14:57:05 -07:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2007 Ivo van Doorn
|
2009-06-02 13:01:37 +02:00
|
|
|
* Copyright 2009 Johannes Berg <johannes@sipsolutions.net>
|
2007-09-27 14:57:05 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* 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
|
|
|
|
|
|
2009-06-02 13:01:37 +02:00
|
|
|
/* core code */
|
|
|
|
|
void rfkill_switch_all(const enum rfkill_type type, bool blocked);
|
2008-06-23 17:23:07 -03:00
|
|
|
void rfkill_epo(void);
|
2008-08-02 15:10:58 -03:00
|
|
|
void rfkill_restore_states(void);
|
2008-10-09 21:49:33 -03:00
|
|
|
void rfkill_remove_epo_lock(void);
|
|
|
|
|
bool rfkill_is_epo_lock_active(void);
|
2009-06-02 13:01:37 +02:00
|
|
|
bool rfkill_get_global_sw_state(const enum rfkill_type type);
|
|
|
|
|
|
|
|
|
|
/* input handler */
|
|
|
|
|
int rfkill_handler_init(void);
|
|
|
|
|
void rfkill_handler_exit(void);
|
2007-09-27 14:57:05 -07:00
|
|
|
|
|
|
|
|
#endif /* __RFKILL_INPUT_H */
|