pull a function I will need for service-dns out of pretty-print
[oweals/gnunet.git] / src / vpn / gnunet-dns-parser.h
1 #ifndef _GNVPN_DNSP_H_
2 #define _GNVPN_DNSP_H_
3
4 /**
5  * Parses the dns-name pointed to by src+idx returning idx so, that src+idx points
6  * to the first unused char.
7  */
8 unsigned int parse_dns_name(unsigned char* dest, const unsigned char* src, unsigned short idx);
9
10 #endif