From 8e7ea6742a94ea62b421d7184e9eab17fb5da934 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Wed, 21 Oct 2020 12:29:13 +0000 Subject: [PATCH] Added threading, progress and some comments, nearly done --- include/dns.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/dns.h b/include/dns.h index b6e6a90..0776827 100644 --- a/include/dns.h +++ b/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); -- Gitblit v1.10.0