mirror of https://github.com/Chizi123/dnscomp.git

Joel Grunbaum
2020-10-19 415e3b82ed70c48f61b51b7a93576335af2da7cb
include/dns.h
@@ -8,5 +8,5 @@
#define T_TXT 16           // Text record
#define T_AAAA 28          // IPv6 address
void resolve(unsigned char* buf, char* hostname, char* dns_ip, int query_type);
struct timespec resolve(unsigned char* buf, char* hostname, char* dns_ip, int query_type);
void print_packet(unsigned char* buf);