aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-dns-parser.h
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2010-10-05 18:20:20 +0000
committerPhilipp Tölke <toelke@in.tum.de>2010-10-05 18:20:20 +0000
commit852b4f4ff636f3005b03be5e2195a00dd0d1b7e9 (patch)
treef92b6c510fd0356c22d557fea56de709d97c3e0f /src/vpn/gnunet-dns-parser.h
parentbd4b7b43485ed8cf1817f41cd8793885a3a5b5c5 (diff)
downloadgnunet-852b4f4ff636f3005b03be5e2195a00dd0d1b7e9.tar.gz
gnunet-852b4f4ff636f3005b03be5e2195a00dd0d1b7e9.zip
parse a complete dns-packet-struct to another struct so as to completly have
it in memory
Diffstat (limited to 'src/vpn/gnunet-dns-parser.h')
-rw-r--r--src/vpn/gnunet-dns-parser.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/vpn/gnunet-dns-parser.h b/src/vpn/gnunet-dns-parser.h
index 77dcd6d4e..1ee82e7a3 100644
--- a/src/vpn/gnunet-dns-parser.h
+++ b/src/vpn/gnunet-dns-parser.h
@@ -1,10 +1,9 @@
1#ifndef _GNVPN_DNSP_H_ 1#ifndef _GNVPN_DNSP_H_
2#define _GNVPN_DNSP_H_ 2#define _GNVPN_DNSP_H_
3 3
4/** 4#include "platform.h"
5 * Parses the dns-name pointed to by src+idx returning idx so, that src+idx points 5#include "gnunet-vpn-packet.h"
6 * to the first unused char. 6
7 */ 7struct dns_pkt_parsed* parse_dns_packet(struct dns_pkt* pkt);
8unsigned int parse_dns_name(unsigned char* dest, const unsigned char* src, unsigned short idx);
9 8
10#endif 9#endif