iaction.h 632 B

12345678910111213141516171819202122232425262728293031323334
  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. #include <klish/kaction.h>
  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 *permanent;
  17. char *sync;
  18. char *script;
  19. } iaction_t;
  20. C_DECL_BEGIN
  21. bool_t iaction_parse(const iaction_t *info, kaction_t *action,
  22. faux_error_t *error);
  23. kaction_t *iaction_load(const iaction_t *iaction, faux_error_t *error);
  24. char *iaction_deploy(const kaction_t *kaction, int level);
  25. C_DECL_END
  26. #endif // _klish_iaction_h