refact TDB
This commit is contained in:
parent
072a30bd39
commit
3902294f01
|
@ -3,7 +3,7 @@ add_library(tdb "")
|
||||||
target_sources(tdb
|
target_sources(tdb
|
||||||
PRIVATE
|
PRIVATE
|
||||||
"src/db/tdbPCache.c"
|
"src/db/tdbPCache.c"
|
||||||
"src/db/tdbPFile.c"
|
"src/db/tdbPager.c"
|
||||||
"src/db/tdbUtil.c"
|
"src/db/tdbUtil.c"
|
||||||
"src/db/tdbBtree.c"
|
"src/db/tdbBtree.c"
|
||||||
"src/db/tdbDb.c"
|
"src/db/tdbDb.c"
|
||||||
|
|
|
@ -135,7 +135,7 @@ typedef int (*FKeyComparator)(const void *pKey1, int kLen1, const void *pKey2, i
|
||||||
|
|
||||||
#include "tdbPCache.h"
|
#include "tdbPCache.h"
|
||||||
|
|
||||||
#include "tdbPFile.h"
|
#include "tdbPager.h"
|
||||||
|
|
||||||
#include "tdbBtree.h"
|
#include "tdbBtree.h"
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _TD_PAGE_FILE_H_
|
#ifndef _TDB_PAGER_H_
|
||||||
#define _TD_PAGE_FILE_H_
|
#define _TDB_PAGER_H_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -35,4 +35,4 @@ int tdbPagerCommit(SPager *pFile);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /*_TD_PAGE_FILE_H_*/
|
#endif /*_TDB_PAGER_H_*/
|
Loading…
Reference in New Issue