mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Continued work on btree (CVS 219)
FossilOrigin-Name: 18500cdcc1a42118cdf650681ebb1cbeac106aa7
This commit is contained in:
16
src/btree.h
16
src/btree.h
@@ -24,7 +24,7 @@
|
||||
** This header file defines the interface that the sqlite B-Tree file
|
||||
** subsystem.
|
||||
**
|
||||
** @(#) $Id: btree.h,v 1.1 2001/04/17 20:09:11 drh Exp $
|
||||
** @(#) $Id: btree.h,v 1.2 2001/05/24 21:06:36 drh Exp $
|
||||
*/
|
||||
|
||||
typedef struct Btree Btree;
|
||||
@@ -39,18 +39,12 @@ int sqliteBtreeRollback(Btree*);
|
||||
|
||||
|
||||
int sqliteBtreeCursor(Btree*, BtCursor **ppCur);
|
||||
|
||||
/* Move the cursor so that it points to an entry near pKey.
|
||||
** Return 0 if the cursor is left pointing exactly at pKey.
|
||||
** Return -1 if the cursor points to the largest entry less than pKey.
|
||||
** Return 1 if the cursor points to the smallest entry greater than pKey.
|
||||
*/
|
||||
int sqliteBtreeMoveto(BtCursor*, void *pKey, int nKey);
|
||||
int sqliteBtreeMoveto(BtCursor*, void *pKey, int nKey, *pRes);
|
||||
int sqliteBtreeDelete(BtCursor*);
|
||||
int sqliteBtreeInsert(BtCursor*, void *pKey, int nKey, void *pData, int nData);
|
||||
int sqliteBtreeNext(BtCursor*);
|
||||
int sqliteBtreeKeySize(BtCursor*);
|
||||
int sqliteBtreeNext(BtCursor*, int *pRes);
|
||||
int sqliteBtreeKeySize(BtCursor*, int *pSize);
|
||||
int sqliteBtreeKey(BtCursor*, int offset, int amt, char *zBuf);
|
||||
int sqliteBtreeDataSize(BtCursor*);
|
||||
int sqliteBtreeDataSize(BtCursor*, int *pSize);
|
||||
int sqliteBtreeData(BtCursor*, int offset, int amt, char *zBuf);
|
||||
int sqliteBtreeCloseCursor(BtCursor*);
|
||||
|
Reference in New Issue
Block a user