inspace.h 633 B

12345678910111213141516171819202122232425262728
  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/icommand.h>
  9. #include <klish/knspace.h>
  10. typedef struct inspace_s {
  11. char *ref;
  12. char *prefix;
  13. } inspace_t;
  14. C_DECL_BEGIN
  15. bool_t inspace_parse(const inspace_t *info, knspace_t *nspace, faux_error_t *error);
  16. bool_t inspace_parse_nested(const inspace_t *inspace, knspace_t *knspace,
  17. faux_error_t *error);
  18. knspace_t *inspace_load(const inspace_t *inspace, faux_error_t *error);
  19. char *inspace_deploy(const knspace_t *knspace, int level);
  20. C_DECL_END
  21. #endif // _klish_inspace_h