aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-dns-parser.h
blob: 77dcd6d4e3871eab96bbcf67783078be82a8db19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#ifndef _GNVPN_DNSP_H_
#define _GNVPN_DNSP_H_

/**
 * Parses the dns-name pointed to by src+idx returning idx so, that src+idx points
 * to the first unused char.
 */
unsigned int parse_dns_name(unsigned char* dest, const unsigned char* src, unsigned short idx);

#endif