tep.h 374 字节
Newer Older
1 2 3
#ifndef TDENGINE_TEP_H
#define TDENGINE_TEP_H

4 5 6 7 8 9 10 11
#include "os.h"
#include "taosmsg.h"

typedef struct SCorEpSet {
  int32_t version;
  SEpSet  epSet;
} SCorEpSet;

12
int taosGetFqdnPortFromEp(const char *ep, char *fqdn, uint16_t *port);
13 14 15
bool isEpsetEqual(const SEpSet *s1, const SEpSet *s2);

void updateEpSet_s(SCorEpSet *pEpSet, SEpSet *pNewEpSet);
16 17

#endif  // TDENGINE_TEP_H