1234567891011121314151617181920212223242526272829303132333435 |
- /*
- * action.h
- */
- #ifndef _clish_action_h
- #define _clish_action_h
- typedef struct clish_action_s clish_action_t;
- #include "lub/bintree.h"
- /*=====================================
- * ACTION INTERFACE
- *===================================== */
- /*-----------------
- * meta functions
- *----------------- */
- clish_action_t *clish_action_new(void);
- /*-----------------
- * methods
- *----------------- */
- void clish_action_delete(clish_action_t *instance);
- void clish_action_dump(const clish_action_t *instance);
- /*-----------------
- * attributes
- *----------------- */
- void clish_action__set_script(clish_action_t *instance, const char *script);
- char *clish_action__get_script(const clish_action_t *instance);
- void clish_action__set_builtin(clish_action_t *instance, const char *builtin);
- const char *clish_action__get_builtin(const clish_action_t *instance);
- void clish_action__set_shebang(clish_action_t *instance, const char *shebang);
- const char *clish_action__get_shebang(const clish_action_t *instance);
- #endif /* _clish_action_h */
|