rfkill.h 590 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2007 Ivo van Doorn
  4. * Copyright 2009 Johannes Berg <johannes@sipsolutions.net>
  5. */
  6. #ifndef __RFKILL_INPUT_H
  7. #define __RFKILL_INPUT_H
  8. /* core code */
  9. void rfkill_switch_all(const enum rfkill_type type, bool blocked);
  10. void rfkill_epo(void);
  11. void rfkill_restore_states(void);
  12. void rfkill_remove_epo_lock(void);
  13. bool rfkill_is_epo_lock_active(void);
  14. bool rfkill_get_global_sw_state(const enum rfkill_type type);
  15. /* input handler */
  16. int rfkill_handler_init(void);
  17. void rfkill_handler_exit(void);
  18. #endif /* __RFKILL_INPUT_H */