store.h 667 B

1234567891011121314151617
  1. #ifndef _LSUP_STORE_H
  2. #define _LSUP_STORE_H
  3. /*
  4. * Store feature flags.
  5. *
  6. * NOTE: LSUP_STORE_PERM need only be set by an implementation based on whether
  7. * its path is on a default temporary dir (e.g. LSUP_MDB_RAMDISK_PATH). If this
  8. * flag is not set, it means the data will be cleared before the next execution
  9. * of the program. However, its being set does not guarantee the persistence of
  10. * the medium (i.e. a "permanent" store may have been created ad hoc on a
  11. * tempfs).
  12. */
  13. #define LSUP_STORE_PERM 1<<0 // Store is on a permanent location.
  14. #define LSUP_STORE_CTX 1<<1 // Store supports contexts (quads).
  15. #endif /* _LSUP_STORE_H */