|
|
@ -1409,7 +1409,7 @@ int mdb_dcmp(MDB_txn *txn, MDB_dbi dbi, const MDB_val *a, const MDB_val *b); |
|
|
|
* |
|
|
|
* |
|
|
|
* @param[in] msg The string to be printed. |
|
|
|
* @param[in] msg The string to be printed. |
|
|
|
* @param[in] ctx An arbitrary context pointer for the callback. |
|
|
|
* @param[in] ctx An arbitrary context pointer for the callback. |
|
|
|
* @return < 0 on failure, 0 on success. |
|
|
|
* @return < 0 on failure, >= 0 on success. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
typedef int (MDB_msg_func)(const char *msg, void *ctx); |
|
|
|
typedef int (MDB_msg_func)(const char *msg, void *ctx); |
|
|
|
|
|
|
|
|
|
|
@ -1418,7 +1418,7 @@ typedef int (MDB_msg_func)(const char *msg, void *ctx); |
|
|
|
* @param[in] env An environment handle returned by #mdb_env_create() |
|
|
|
* @param[in] env An environment handle returned by #mdb_env_create() |
|
|
|
* @param[in] func A #MDB_msg_func function |
|
|
|
* @param[in] func A #MDB_msg_func function |
|
|
|
* @param[in] ctx Anything the message function needs |
|
|
|
* @param[in] ctx Anything the message function needs |
|
|
|
* @return < 0 on failure, 0 on success. |
|
|
|
* @return < 0 on failure, >= 0 on success. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
int mdb_reader_list(MDB_env *env, MDB_msg_func *func, void *ctx); |
|
|
|
int mdb_reader_list(MDB_env *env, MDB_msg_func *func, void *ctx); |
|
|
|
|
|
|
|
|
|
|
|