core.h 526 B

1234567891011121314151617181920212223242526272829303132
  1. /* @file core.h
  2. *
  3. * @brief LSUP_REPO core module.
  4. */
  5. #ifndef _LSR_CORE_H
  6. #define _LSR_CORE_H
  7. #include "lsup_rdf.h"
  8. /** @brief Whether the environment is initialized.
  9. */
  10. extern bool LSR_is_init;
  11. /** @brief Initialize LSUP and LSR environments.
  12. *
  13. * This function is idempotent.
  14. */
  15. LSUP_rc LSR_init (void);
  16. /** @brief Tear down LSUP and LSR environments.
  17. *
  18. * This function is idempotent. It is also called automatically at the end of
  19. * a program (atexit()).
  20. */
  21. void LSR_done (void);
  22. #endif /* _LSR_CODE_H */