TDengine/source/dnode/qnode/inc/qndInt.h

45 lines
1,018 B
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/>.
*/
#ifndef _TD_QNODE_INT_H_
#define _TD_QNODE_INT_H_
2021-12-27 10:43:27 +00:00
#include "os.h"
#include "tlog.h"
#include "tmsg.h"
2022-03-21 11:49:20 +00:00
#include "tmsgcb.h"
2022-10-13 03:56:16 +00:00
#include "trpc.h"
2021-12-27 10:43:27 +00:00
#include "qnode.h"
2021-09-22 09:27:48 +00:00
#ifdef __cplusplus
extern "C" {
#endif
typedef struct SQWorker SQHandle;
2022-03-09 08:13:46 +00:00
2021-12-27 10:43:27 +00:00
typedef struct SQnode {
2022-03-07 11:37:17 +00:00
int32_t qndId;
2022-03-21 11:08:25 +00:00
SMsgCb msgCb;
SQHandle* pQuery;
2021-12-27 10:43:27 +00:00
} SQnode;
2021-09-22 09:27:48 +00:00
#ifdef __cplusplus
}
#endif
2022-03-07 11:37:17 +00:00
#endif /*_TD_QNODE_INT_H_*/