action.h 600 B

12345678910111213141516171819202122232425
  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. #endif // _clish_action_h