diff options
Diffstat (limited to 'ares/ares_private.h')
-rw-r--r-- | ares/ares_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h index d5ffbb382..9354e6300 100644 --- a/ares/ares_private.h +++ b/ares/ares_private.h @@ -266,6 +266,8 @@ int ares__get_hostent(FILE *fp, int family, struct hostent **host); int ares__read_line(FILE *fp, char **buf, int *bufsize); void ares__free_query(struct query *query); short ares__generate_new_id(rc4_key* key); +struct timeval ares__tvnow(void); +long ares__tvdiff(struct timeval t1, struct timeval t2); #define ARES_SWAP_BYTE(a,b) \ { unsigned char swapByte = *(a); *(a) = *(b); *(b) = swapByte; } |