Close a Store connection.
More...
Close a Store connection.
- Parameters
-
[in,out] | ptr | Store retrieved via open() |
◆ store_bdb_close()
static void store_bdb_close |
( |
void ** |
ptr | ) |
|
|
static |
Implements StoreOps::close() -.
Definition at line 228 of file bdb.c.
235 db->db->close(
db->db, 0);
236 db->env->close(
db->env, 0);
void mutt_buffer_dealloc(struct Buffer *buf)
Release the memory allocated by a buffer.
static const char * mutt_buffer_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
int mutt_file_unlock(int fd)
Unlock a file previously locked by mutt_file_lock()
◆ store_gdbm_close()
static void store_gdbm_close |
( |
void ** |
ptr | ) |
|
|
static |
◆ store_kyotocabinet_close()
static void store_kyotocabinet_close |
( |
void ** |
ptr | ) |
|
|
static |
Implements StoreOps::close() -.
Definition at line 130 of file kc.c.
138 int ecode = kcdbecode(db);
#define mutt_debug(LEVEL,...)
@ LL_DEBUG2
Log at debug level 2.
◆ store_lmdb_close()
static void store_lmdb_close |
( |
void ** |
ptr | ) |
|
|
static |
Implements StoreOps::close() -.
Definition at line 302 of file lmdb.c.
312 mdb_txn_commit(
db->txn);
314 mdb_txn_abort(
db->txn);
320 mdb_env_close(
db->env);
@ TXN_WRITE
Write transaction in progress.
@ TXN_UNINITIALIZED
Transaction is uninitialised.
◆ store_qdbm_close()
static void store_qdbm_close |
( |
void ** |
ptr | ) |
|
|
static |
◆ store_rocksdb_close()
static void store_rocksdb_close |
( |
void ** |
ptr | ) |
|
|
static |
Implements StoreOps::close() -.
Definition at line 164 of file rocksdb.c.
172 rocksdb_close(ctx->
db);
173 rocksdb_options_destroy(ctx->
options);
rocksdb_writeoptions_t * write_options
rocksdb_readoptions_t * read_options
rocksdb_options_t * options
◆ store_tokyocabinet_close()
static void store_tokyocabinet_close |
( |
void ** |
ptr | ) |
|
|
static |
◆ store_tdb_close()
static void store_tdb_close |
( |
void ** |
ptr | ) |
|
|
static |