ihotkey.h 512 B

123456789101112131415161718192021222324252627
  1. /** @file ihotkey.h
  2. *
  3. * @brief Klish scheme's "hotkey" entry
  4. */
  5. #ifndef _klish_ihotkey_h
  6. #define _klish_ihotkey_h
  7. #include <faux/error.h>
  8. #include <klish/khotkey.h>
  9. typedef struct ihotkey_s {
  10. char *key;
  11. char *cmd;
  12. } ihotkey_t;
  13. C_DECL_BEGIN
  14. //bool_t ihotkey_parse(const ihotkey_t *info, khotkey_t *hotkey,
  15. // faux_error_t *error);
  16. khotkey_t *ihotkey_load(const ihotkey_t *ihotkey, faux_error_t *error);
  17. char *ihotkey_deploy(const khotkey_t *khotkey, int level);
  18. C_DECL_END
  19. #endif // _klish_ihotkey_h