action.h 803 B

123456789101112131415161718192021222324252627282930
  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 "clish/macros.h"
  8. #include "clish/plugin.h"
  9. clish_action_t *clish_action_new(void);
  10. void clish_action_delete(clish_action_t *instance);
  11. void clish_action_dump(const clish_action_t *instance);
  12. _CLISH_SET_STR(action, script);
  13. _CLISH_GET_STR(action, script);
  14. _CLISH_SET(action, const clish_sym_t *, builtin);
  15. _CLISH_GET(action, const clish_sym_t *, builtin);
  16. _CLISH_SET_STR(action, shebang);
  17. _CLISH_GET_STR(action, shebang);
  18. _CLISH_SET(action, bool_t, lock);
  19. _CLISH_GET(action, bool_t, lock);
  20. _CLISH_SET(action, bool_t, interrupt);
  21. _CLISH_GET(action, bool_t, interrupt);
  22. _CLISH_SET(action, bool_t, interactive);
  23. _CLISH_GET(action, bool_t, interactive);
  24. #endif // _clish_action_h