action.h 951 B

12345678910111213141516171819202122232425262728293031323334
  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. _CLISH_SET(action, bool_t, permanent);
  25. _CLISH_GET(action, bool_t, permanent);
  26. _CLISH_SET(action, tri_t, expand);
  27. _CLISH_GET(action, tri_t, expand);
  28. #endif // _clish_action_h