action.h 828 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * action.h
  3. */
  4. #ifndef _clish_action_h
  5. #define _clish_action_h
  6. typedef struct clish_action_s clish_action_t;
  7. #include "lub/bintree.h"
  8. #include "clish/macros.h"
  9. #include "clish/plugin.h"
  10. clish_action_t *clish_action_new(void);
  11. void clish_action_delete(clish_action_t *instance);
  12. void clish_action_dump(const clish_action_t *instance);
  13. _CLISH_SET_STR(action, script);
  14. _CLISH_GET_STR(action, script);
  15. _CLISH_SET(action, const clish_sym_t *, builtin);
  16. _CLISH_GET(action, const clish_sym_t *, builtin);
  17. _CLISH_SET_STR(action, shebang);
  18. _CLISH_GET_STR(action, shebang);
  19. _CLISH_SET(action, bool_t, lock);
  20. _CLISH_GET(action, bool_t, lock);
  21. _CLISH_SET(action, bool_t, interrupt);
  22. _CLISH_GET(action, bool_t, interrupt);
  23. _CLISH_SET(action, bool_t, interactive);
  24. _CLISH_GET(action, bool_t, interactive);
  25. #endif // _clish_action_h