TDengine/source/dnode/vnode/tsdb/inc/tsdbDef.h

45 lines
1.1 KiB
C
Raw Normal View History

2021-09-22 09:27:48 +00:00
/*
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com>
*
* This program is free software: you can use, redistribute, and/or modify
* it under the terms of the GNU Affero General Public License, version 3
* or later ("AGPL"), as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
2021-11-03 03:13:17 +00:00
#ifndef _TD_TSDB_DEF_H_
#define _TD_TSDB_DEF_H_
2021-11-10 13:25:55 +00:00
#include "mallocator.h"
2021-12-24 07:00:51 +00:00
#include "tmsg.h"
2021-12-17 06:12:01 +00:00
#include "tlist.h"
2021-12-15 06:48:47 +00:00
#include "thash.h"
2021-12-15 07:22:39 +00:00
#include "tskiplist.h"
2021-11-10 13:25:55 +00:00
2021-11-03 03:13:17 +00:00
#include "tsdb.h"
2021-11-10 13:25:55 +00:00
#include "tsdbMemTable.h"
2021-11-03 03:13:17 +00:00
#include "tsdbOptions.h"
2021-09-22 09:27:48 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2021-11-03 03:13:17 +00:00
struct STsdb {
2021-11-12 05:35:10 +00:00
char * path;
2021-11-24 08:29:02 +00:00
STsdbCfg options;
2021-12-15 06:48:47 +00:00
STsdbMemTable * mem;
STsdbMemTable * imem;
2021-11-12 05:35:10 +00:00
SMemAllocatorFactory *pmaf;
2021-11-03 03:13:17 +00:00
};
2021-09-22 09:27:48 +00:00
#ifdef __cplusplus
}
#endif
2021-11-03 03:13:17 +00:00
#endif /*_TD_TSDB_DEF_H_*/