iaction.h 418 B

1234567891011121314151617181920212223242526272829
  1. /** @file iaction.h
  2. *
  3. * @brief Klish scheme's "action" entry
  4. */
  5. #ifndef _klish_iaction_h
  6. #define _klish_iaction_h
  7. #include <faux/error.h>
  8. typedef struct iaction_s {
  9. char *sym;
  10. char *lock;
  11. char *interrupt;
  12. char *interactive;
  13. char *exec_on;
  14. char *update_retcode;
  15. char *script;
  16. } iaction_t;
  17. C_DECL_BEGIN
  18. char *iaction_to_text(const iaction_t *iaction, int level);
  19. C_DECL_END
  20. #endif // _klish_iaction_h