acts.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* This file is part of ilk.
  2. *
  3. * Ilk is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU Lesser General Public License as published by
  5. * the Free Software Foundation, either version 3 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * Ilk is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU Lesser General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU Lesser General Public License
  14. * along with ilk. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #ifndef ILK_ACTS_H
  17. #define ILK_ACTS_H
  18. /*
  19. Include:
  20. #include <dirent.h>
  21. #include <rid.h>
  22. #include <stdint.h>
  23. #include <unfy/unfy.h>
  24. #include <rls/rls.h>
  25. #include <rls/rlsp.h>
  26. #include <nit/list.h>
  27. #include <nit/set.h>
  28. #include <nit/map.h>
  29. #include <nit/err.h>
  30. #include <nit/file.h>
  31. #include <nit/buf.h>
  32. #include <nit/gap.h>
  33. #include <ilk/utilize.h>
  34. */
  35. #ifndef STYLE_9
  36. #include <ilk/utilize.h>
  37. #endif
  38. typedef enum {
  39. ILK_ACT_NO,
  40. ILK_ACT_ADD,
  41. ILK_ACT_GENSYM,
  42. ILK_ACT_END,
  43. } Ilk_act_num;
  44. #define ILK_ACT_MAX (ILK_ACT_END - 1)
  45. extern Rls_act ilk_acts[];
  46. Ilk_grp *
  47. ilk_act_add2(Ilk_sys *sys, Ilk_act_num act_num);
  48. #endif