提交 f80597a1 编写于 作者: A Alex Duan

feat(rpc): windows build error1

上级 b472511e
......@@ -78,13 +78,6 @@ typedef struct SRpcInit {
int (*afp)(char *tableId, char *spi, char *encrypt, char *secret, char *ckey);
} SRpcInit;
typedef struct SSendInfo {
void *pContext;
void *pConn;
void *pFdObj;
SOCKET fd;
} SSendInfo;
int32_t rpcInit();
void rpcCleanup();
void *rpcOpen(const SRpcInit *pRpc);
......
......@@ -69,6 +69,13 @@ typedef struct {
struct SRpcConn *connList; // connection list
} SRpcInfo;
typedef struct SSendInfo {
void *pContext;
void *pConn;
void *pFdObj;
SOCKET fd;
} SSendInfo;
typedef struct {
SRpcInfo *pRpc; // associated SRpcInfo
SRpcEpSet epSet; // ip list provided by app
......@@ -127,7 +134,6 @@ typedef struct SRpcConn {
SRpcReqContext *pContext; // request context
int64_t rid; // probe msg use rid get pContext
int64_t lastLiveTime; // last alive time with ms
} SRpcConn;
int tsRpcMaxUdpSize = 15000; // bytes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册