Go to the documentation of this file.
19 #ifdef HAVE_NETINET_IN_H
20 # include <netinet/in.h>
79 unsigned short id,
int rd,
unsigned char **bufp,
80 int *buflenp,
int max_udp_size)
124 if (strcmp(
name,
".") == 0)
138 for (
p =
name; *
p && *
p !=
'.';
p++)
140 if (*
p ==
'\\' && *(
p + 1) != 0)
150 *q++ = (
unsigned char)
len;
151 for (
p =
name; *
p && *
p !=
'.';
p++)
153 if (*
p ==
'\\' && *(
p + 1) != 0)
193 *buflenp = (
int) buflen;
#define DNS_HEADER_SET_ARCOUNT(h, v)
return memset(p, 0, total)
#define DNS_HEADER_SET_RD(h, v)
int ares__is_onion_domain(const char *name)
#define DNS_HEADER_SET_QID(h, v)
int ares_create_query(const char *name, int dnsclass, int type, unsigned short id, int rd, unsigned char **bufp, int *buflenp, int max_udp_size)
void *(* ares_malloc)(size_t size)=default_malloc
#define DNS_HEADER_SET_QDCOUNT(h, v)
#define DNS_QUESTION_SET_TYPE(q, v)
#define DNS_QUESTION_SET_CLASS(q, v)
void(* ares_free)(void *ptr)=default_free
#define DNS_RR_SET_CLASS(r, v)
#define DNS_RR_SET_TYPE(r, v)
#define DNS_HEADER_SET_OPCODE(h, v)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:32