refact
This commit is contained in:
parent
fd94249ffd
commit
64be05208e
|
@ -16,8 +16,6 @@
|
||||||
#ifndef _TD_BTREE_H_
|
#ifndef _TD_BTREE_H_
|
||||||
#define _TD_BTREE_H_
|
#define _TD_BTREE_H_
|
||||||
|
|
||||||
#include "tdbInt.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -16,10 +16,6 @@
|
||||||
#ifndef _TD_PAGE_FILE_H_
|
#ifndef _TD_PAGE_FILE_H_
|
||||||
#define _TD_PAGE_FILE_H_
|
#define _TD_PAGE_FILE_H_
|
||||||
|
|
||||||
#include "tdbInt.h"
|
|
||||||
|
|
||||||
#include "pgcache.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -54,6 +54,8 @@ typedef int32_t pgsize_t;
|
||||||
#define tdbError(var)
|
#define tdbError(var)
|
||||||
|
|
||||||
#include "pgcache.h"
|
#include "pgcache.h"
|
||||||
|
#include "pgfile.h"
|
||||||
|
#include "btree.h"
|
||||||
|
|
||||||
// tdb util
|
// tdb util
|
||||||
int tdbGnrtFileID(const char *fname, uint8_t *fileid);
|
int tdbGnrtFileID(const char *fname, uint8_t *fileid);
|
||||||
|
|
Loading…
Reference in New Issue