carback.h 696 B

1234567891011121314151617181920212223
  1. #ifndef __ARK_CARBACK_H__
  2. #define __ARK_CARBACK_H__
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define CARBACK_IOCTL_BASE 0x9A
  7. #define CARBACK_IOCTL_SET_APP_READY _IO(CARBACK_IOCTL_BASE, 0)
  8. #define CARBACK_IOCTL_APP_ENTER_DONE _IO(CARBACK_IOCTL_BASE, 1)
  9. #define CARBACK_IOCTL_APP_EXIT_DONE _IO(CARBACK_IOCTL_BASE, 2)
  10. #define CARBACK_IOCTL_GET_STATUS _IOR(CARBACK_IOCTL_BASE, 3, int)
  11. #define CARBACK_IOCTL_DETECT_SIGNAL _IOR(CARBACK_IOCTL_BASE, 4, int)
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif