hotkey.h 479 B

1234567891011121314151617
  1. /*
  2. * hotkey.h
  3. */
  4. #ifndef _clish_hotkey_h
  5. #define _clish_hotkey_h
  6. typedef struct clish_hotkey_s clish_hotkey_t;
  7. typedef struct clish_hotkeyv_s clish_hotkeyv_t;
  8. const char *clish_hotkeyv_cmd_by_code(clish_hotkeyv_t *instance, int code);
  9. int clish_hotkeyv_insert(clish_hotkeyv_t *instance,
  10. const char *key, const char *cmd);
  11. clish_hotkeyv_t *clish_hotkeyv_new(void);
  12. void clish_hotkeyv_delete(clish_hotkeyv_t *instance);
  13. #endif /* _clish_hotkey_h */
  14. /** @} clish_hotkey */