aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_dnsparser_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-02 19:24:13 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-02 19:24:13 +0000
commit4c82e28a40c038caef74a1a08ab0df3257615c4b (patch)
tree1fc3aec695663cee40eedf2ae4501f1cfc08e9c8 /src/include/gnunet_dnsparser_lib.h
parent19a49ce74a0b987b865e2ef15561e5fa71405029 (diff)
downloadgnunet-4c82e28a40c038caef74a1a08ab0df3257615c4b.tar.gz
gnunet-4c82e28a40c038caef74a1a08ab0df3257615c4b.zip
-moving DNS API into the new direction outlined in my last comment
Diffstat (limited to 'src/include/gnunet_dnsparser_lib.h')
-rw-r--r--src/include/gnunet_dnsparser_lib.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/gnunet_dnsparser_lib.h b/src/include/gnunet_dnsparser_lib.h
index 37e31d24f..3aa289e70 100644
--- a/src/include/gnunet_dnsparser_lib.h
+++ b/src/include/gnunet_dnsparser_lib.h
@@ -29,6 +29,29 @@
29#include "platform.h" 29#include "platform.h"
30#include "gnunet_common.h" 30#include "gnunet_common.h"
31 31
32/**
33 * A few common DNS types.
34 */
35#define GNUNET_DNS_TYPE_A 1
36#define GNUNET_DNS_TYPE_NS 2
37#define GNUNET_DNS_TYPE_CNAME 5
38#define GNUNET_DNS_TYPE_SOA 6
39#define GNUNET_DNS_TYPE_PTR 12
40#define GNUNET_DNS_TYPE_MX 15
41#define GNUNET_DNS_TYPE_TXT 16
42#define GNUNET_DNS_TYPE_AAAA 28
43#define GNUNET_DNS_TYPE_IXFR 251
44#define GNUNET_DNS_TYPE_AXFR 252
45
46/**
47 * A few common DNS classes (ok, only one is common, but I list a
48 * couple more to make it clear what we're talking about here).
49 */
50#define GNUNET_DNS_CLASS_INTERNET 1
51#define GNUNET_DNS_CLASS_CHAOS 3
52#define GNUNET_DNS_CLASS_HESIOD 4
53
54
32// DNS-Stuff 55// DNS-Stuff
33GNUNET_NETWORK_STRUCT_BEGIN 56GNUNET_NETWORK_STRUCT_BEGIN
34 57