mdbx: adds mdbx_cursor_eof() for libfpta.

This commit is contained in:
Leo Yuriev
2016-12-06 20:32:09 +03:00
parent f9f132671c
commit b980878b07
2 changed files with 15 additions and 0 deletions

4
mdbx.h
View File

@@ -219,6 +219,10 @@ typedef struct mdbx_canary {
int mdbx_canary_put(MDB_txn *txn, const mdbx_canary* canary);
size_t mdbx_canary_get(MDB_txn *txn, mdbx_canary* canary);
/** Returns 1 when no more data available or cursor not positioned,
* 0 otherwise or less that zero in error case. */
int mdbx_cursor_eof(MDB_cursor *mc);
/** @} */
#ifdef __cplusplus