Added dns_decode test for response

This commit is contained in:
Erik Ekman
2007-01-28 06:11:54 +00:00
parent 5beb814d8c
commit d1c36f3db4
2 changed files with 33 additions and 16 deletions

View File

@@ -29,6 +29,7 @@ void dns_login(int, char *, int);
int dns_read(int, char *, int);
int dns_encode_hostname(const char *, char *, int);
int dns_encode(char *, size_t, struct query *, int, char *, size_t);
int dns_decode(char *, int, int, char *, int);
extern struct sockaddr_in peer;