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:17 +0000
committerPhilipp Tölke <toelke@in.tum.de>2010-10-05 18:20:17 +0000
commit1ec9a4ce4e00da8e877d6af343b7fed346765392 (patch)
tree17742c43375ff1b4a83b36cf27afa67a0b7902b0 /src/vpn/gnunet-dns-parser.h
parent81f94aa0f1209d5643a1dba9f3ce99b164ce2df5 (diff)
downloadgnunet-1ec9a4ce4e00da8e877d6af343b7fed346765392.tar.gz
gnunet-1ec9a4ce4e00da8e877d6af343b7fed346765392.zip
pull a function I will need for service-dns out of pretty-print
Diffstat (limited to 'src/vpn/gnunet-dns-parser.h')
-rw-r--r--src/vpn/gnunet-dns-parser.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/vpn/gnunet-dns-parser.h b/src/vpn/gnunet-dns-parser.h
new file mode 100644
index 000000000..77dcd6d4e
--- /dev/null
+++ b/src/vpn/gnunet-dns-parser.h
@@ -0,0 +1,10 @@
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 */
8unsigned int parse_dns_name(unsigned char* dest, const unsigned char* src, unsigned short idx);
9
10#endif