inspace.h 605 B

123456789101112131415161718192021222324252627
  1. /** @file nspace.h
  2. *
  3. * @brief Klish scheme's "nspace" entry
  4. */
  5. #ifndef _klish_inspace_h
  6. #define _klish_inspace_h
  7. #include <faux/error.h>
  8. #include <klish/knspace.h>
  9. typedef struct inspace_s {
  10. char *ref;
  11. char *prefix;
  12. } inspace_t;
  13. C_DECL_BEGIN
  14. bool_t inspace_parse(const inspace_t *info, knspace_t *nspace, faux_error_t *error);
  15. bool_t inspace_parse_nested(const inspace_t *inspace, knspace_t *knspace,
  16. faux_error_t *error);
  17. knspace_t *inspace_load(const inspace_t *inspace, faux_error_t *error);
  18. char *inspace_deploy(const knspace_t *knspace, int level);
  19. C_DECL_END
  20. #endif // _klish_inspace_h