rename some structures
This commit is contained in:
parent
704d8da049
commit
e01081f275
|
@ -22,12 +22,12 @@
|
|||
#include "tutil.h"
|
||||
#include "rpcCache.h"
|
||||
|
||||
typedef struct _c_hash_t {
|
||||
typedef struct SConnHash {
|
||||
uint32_t ip;
|
||||
uint16_t port;
|
||||
char connType;
|
||||
struct _c_hash_t *prev;
|
||||
struct _c_hash_t *next;
|
||||
struct SConnHash *prev;
|
||||
struct SConnHash *next;
|
||||
void *data;
|
||||
uint64_t time;
|
||||
} SConnHash;
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
#include "tlog.h"
|
||||
#include "tmempool.h"
|
||||
|
||||
typedef struct _ip_hash_t {
|
||||
typedef struct SIpHash {
|
||||
uint32_t ip;
|
||||
uint16_t port;
|
||||
int hash;
|
||||
struct _ip_hash_t *prev;
|
||||
struct _ip_hash_t *next;
|
||||
struct SIpHash *prev;
|
||||
struct SIpHash *next;
|
||||
void *data;
|
||||
} SIpHash;
|
||||
|
||||
|
|
|
@ -205,10 +205,10 @@ void *taosOpenUdpConnection(void *shandle, void *thandle, char *ip, uint16_t por
|
|||
}
|
||||
|
||||
static void *taosRecvUdpData(void *param) {
|
||||
SUdpConn *pConn = param;
|
||||
struct sockaddr_in sourceAdd;
|
||||
int dataLen;
|
||||
unsigned int addLen;
|
||||
SUdpConn * pConn = (SUdpConn *)param;
|
||||
uint16_t port;
|
||||
int minSize = sizeof(SRpcHead);
|
||||
SRecvInfo recvInfo;
|
||||
|
|
Loading…
Reference in New Issue