change msg type def
This commit is contained in:
parent
5eabe9102c
commit
cc41b9d312
|
@ -49,6 +49,8 @@ extern int tMsgDict[];
|
|||
#define TMSG_SEG_SEQ(TYPE) ((TYPE)&0xff)
|
||||
#define TMSG_INFO(TYPE) tMsgInfo[tMsgDict[TMSG_SEG_CODE(TYPE)] + TMSG_SEG_SEQ(TYPE)]
|
||||
|
||||
typedef uint16_t tmsg_t;
|
||||
|
||||
// IE type
|
||||
#define TSDB_IE_TYPE_SEC 1
|
||||
#define TSDB_IE_TYPE_META 2
|
||||
|
|
|
@ -37,7 +37,7 @@ typedef struct SRpcConnInfo {
|
|||
} SRpcConnInfo;
|
||||
|
||||
typedef struct SRpcMsg {
|
||||
uint8_t msgType;
|
||||
tmsg_t msgType;
|
||||
void * pCont;
|
||||
int contLen;
|
||||
int32_t code;
|
||||
|
|
Loading…
Reference in New Issue