52#define BU_CACHE_DEFAULT_DB_SIZE 4294967296
63#define BU_CACHE_KEY_MAXLEN 511
void bu_cache_write_abort(struct bu_cache_txn **t)
int bu_cache_close(struct bu_cache *c)
void bu_cache_clear(const char *key, struct bu_cache *c, struct bu_cache_txn **t)
size_t bu_cache_write(void *data, size_t dsize, const char *key, struct bu_cache *c, struct bu_cache_txn **t)
struct bu_cache * bu_cache_open(const char *cache_db, int create, size_t max_cache_size)
int bu_cache_keys(char ***keysv, struct bu_cache *c)
#define BU_CACHE_KEY_MAXLEN
void bu_cache_erase(const char *cache_db)
void bu_cache_get_done(struct bu_cache_txn **t)
int bu_cache_write_commit(struct bu_cache *c, struct bu_cache_txn **t)
size_t bu_cache_get(void **data, const char *key, struct bu_cache *c, struct bu_cache_txn **t)
Header file for the BRL-CAD common definitions.
char key[BU_CACHE_KEY_MAXLEN]