Usermode/utests - Fix DNS utest, update libc utests to new format (no more EXP files)
[tpg/acess2.git] / Usermode / Libraries / libnet.so_src / include / dns_int.h
1 /*
2  */
3 #ifndef _DNS_INT_H_
4 #define _DNS_INT_H_
5
6 #include "dns.h"
7
8 extern size_t   DNS_int_EncodeQuery(void *buf, size_t bufsize, const char *name, enum eTypes type, enum eClass class);
9 extern int      DNS_int_ParseResponse(const void* packet, size_t return_len, void *info, handle_record_t* handle_record_t);
10
11 extern size_t   DNS_EncodeName(void *buf, const char *dotted_name);
12 extern int DNS_DecodeName(char dotted_name[256], const void *buf, size_t ofs, size_t space);
13 #endif
14

UCC git Repository :: git.ucc.asn.au