diff options
Diffstat (limited to '')
-rw-r--r-- | src/client/client.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/client/client.h b/src/client/client.h new file mode 100644 index 0000000..7e0e391 --- /dev/null +++ b/src/client/client.h @@ -0,0 +1,15 @@ +#pragma once + +#include "addr.h" +#include "../packet/packet.h" + +typedef struct { + uint16_t port; + bool force_tcp; +} Options; + +void resolve_default_server(IpAddr* addr); + +void resolve_questions(int argc, char** argv, uint8_t* len, Question** questions); + +void resolve(IpAddr server, Options options, Question* questions, uint8_t lem); |