Lines Matching refs:CARES_EXTERN
82 # define CARES_EXTERN __declspec(dllexport) macro
84 # define CARES_EXTERN __declspec(dllimport)
90 # define CARES_EXTERN
92 # define CARES_EXTERN CARES_SYMBOL_SCOPE_EXTERN
298 CARES_EXTERN int ares_library_init(int flags);
300 CARES_EXTERN void ares_library_cleanup(void);
302 CARES_EXTERN const char *ares_version(int *version);
304 CARES_EXTERN int ares_init(ares_channel *channelptr);
306 CARES_EXTERN int ares_init_options(ares_channel *channelptr,
310 CARES_EXTERN int ares_save_options(ares_channel channel,
314 CARES_EXTERN void ares_destroy_options(struct ares_options *options);
316 CARES_EXTERN int ares_dup(ares_channel *dest,
319 CARES_EXTERN void ares_destroy(ares_channel channel);
321 CARES_EXTERN void ares_cancel(ares_channel channel);
327 CARES_EXTERN void ares_set_local_ip4(ares_channel channel, unsigned int local_ip);
330 CARES_EXTERN void ares_set_local_ip6(ares_channel channel,
334 CARES_EXTERN void ares_set_local_dev(ares_channel channel,
337 CARES_EXTERN void ares_set_socket_callback(ares_channel channel,
341 CARES_EXTERN void ares_send(ares_channel channel,
347 CARES_EXTERN void ares_query(ares_channel channel,
354 CARES_EXTERN void ares_search(ares_channel channel,
361 CARES_EXTERN void ares_gethostbyname(ares_channel channel,
367 CARES_EXTERN int ares_gethostbyname_file(ares_channel channel,
372 CARES_EXTERN void ares_gethostbyaddr(ares_channel channel,
379 CARES_EXTERN void ares_getnameinfo(ares_channel channel,
386 CARES_EXTERN int ares_fds(ares_channel channel,
390 CARES_EXTERN int ares_getsock(ares_channel channel,
394 CARES_EXTERN struct timeval *ares_timeout(ares_channel channel,
398 CARES_EXTERN void ares_process(ares_channel channel,
402 CARES_EXTERN void ares_process_fd(ares_channel channel,
406 CARES_EXTERN int ares_mkquery(const char *name,
414 CARES_EXTERN int ares_expand_name(const unsigned char *encoded,
420 CARES_EXTERN int ares_expand_string(const unsigned char *encoded,
477 CARES_EXTERN int ares_parse_a_reply(const unsigned char *abuf,
483 CARES_EXTERN int ares_parse_aaaa_reply(const unsigned char *abuf,
489 CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf,
496 CARES_EXTERN int ares_parse_ns_reply(const unsigned char *abuf,
500 CARES_EXTERN int ares_parse_srv_reply(const unsigned char* abuf,
504 CARES_EXTERN int ares_parse_mx_reply(const unsigned char* abuf,
508 CARES_EXTERN int ares_parse_txt_reply(const unsigned char* abuf,
512 CARES_EXTERN void ares_free_string(void *str);
514 CARES_EXTERN void ares_free_hostent(struct hostent *host);
516 CARES_EXTERN void ares_free_data(void *dataptr);
518 CARES_EXTERN const char *ares_strerror(int code);
530 CARES_EXTERN int ares_set_servers(ares_channel channel,
534 CARES_EXTERN int ares_set_servers_csv(ares_channel channel,
537 CARES_EXTERN int ares_get_servers(ares_channel channel,