core.c 518 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #include "core.h"
  2. bool LSR_is_init = false;
  3. /*
  4. * Repo-managed predicates.
  5. */
  6. static char *mgd_pred_str [] = {
  7. "ebucore:hasMimeType",
  8. "lsup:created",
  9. "lsup:createdBy",
  10. "lsup:lastModified",
  11. "lsup:lastModifiedBy",
  12. "premis:hasSize",
  13. "premis:hasMessageDigest",
  14. NULL
  15. };
  16. LSUP_rc LSR_init (void)
  17. {
  18. LSUP_rc rc = LSUP_init();
  19. if (rc < 0) return rc;
  20. // TODO other initialization.
  21. return LSUP_OK;
  22. }
  23. void LSR_done (void)
  24. {
  25. // TODO other teardown.
  26. LSUP_done();
  27. }