iaction.h 453 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 kaction_s kaction_t;
  9. typedef struct iaction_s {
  10. char *sym;
  11. char *lock;
  12. char *interrupt;
  13. char *interactive;
  14. char *exec_on;
  15. char *update_retcode;
  16. char *script;
  17. } iaction_t;
  18. C_DECL_BEGIN
  19. char *iaction_to_text(const iaction_t *iaction, int level);
  20. C_DECL_END
  21. #endif // _klish_iaction_h