diff options
-rw-r--r-- | src/dns/Makefile.am | 8 | ||||
-rw-r--r-- | src/include/gnunet_protocols.h | 19 |
2 files changed, 27 insertions, 0 deletions
diff --git a/src/dns/Makefile.am b/src/dns/Makefile.am index 9dd95a3b9..393b70cd3 100644 --- a/src/dns/Makefile.am +++ b/src/dns/Makefile.am | |||
@@ -28,6 +28,7 @@ endif | |||
28 | 28 | ||
29 | lib_LTLIBRARIES = \ | 29 | lib_LTLIBRARIES = \ |
30 | libgnunetdnsparser.la \ | 30 | libgnunetdnsparser.la \ |
31 | libgnunetdnsnew.la \ | ||
31 | libgnunetdns.la | 32 | libgnunetdns.la |
32 | 33 | ||
33 | bin_PROGRAMS = \ | 34 | bin_PROGRAMS = \ |
@@ -68,6 +69,13 @@ libgnunetdns_la_LIBADD = \ | |||
68 | libgnunetdns_la_LDFLAGS = \ | 69 | libgnunetdns_la_LDFLAGS = \ |
69 | $(GN_LIB_LDFLAGS) | 70 | $(GN_LIB_LDFLAGS) |
70 | 71 | ||
72 | libgnunetdnsnew_la_SOURCES = \ | ||
73 | dns_api_new.c dns_new.h | ||
74 | libgnunetdnsnew_la_LIBADD = \ | ||
75 | $(top_builddir)/src/util/libgnunetutil.la $(XLIB) | ||
76 | libgnunetdnsnew_la_LDFLAGS = \ | ||
77 | $(GN_LIB_LDFLAGS) | ||
78 | |||
71 | libgnunet_plugin_block_dns_la_SOURCES = \ | 79 | libgnunet_plugin_block_dns_la_SOURCES = \ |
72 | plugin_block_dns.c | 80 | plugin_block_dns.c |
73 | libgnunet_plugin_block_dns_la_LIBADD = \ | 81 | libgnunet_plugin_block_dns_la_LIBADD = \ |
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 5b9f0612a..89b00e20d 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -639,6 +639,25 @@ extern "C" | |||
639 | */ | 639 | */ |
640 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_ANSWER_DNS 209 | 640 | #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_ANSWER_DNS 209 |
641 | 641 | ||
642 | /** | ||
643 | * Initial message from client to DNS service for registration. | ||
644 | */ | ||
645 | #define GNUNET_MESSAGE_TYPE_DNS_CLIENT_INIT 211 | ||
646 | |||
647 | /** | ||
648 | * Type of messages between the gnunet-helper-dns and the service | ||
649 | */ | ||
650 | #define GNUNET_MESSAGE_TYPE_DNS_CLIENT_REQUEST 212 | ||
651 | |||
652 | /** | ||
653 | * Type of messages between the gnunet-helper-dns and the service | ||
654 | */ | ||
655 | #define GNUNET_MESSAGE_TYPE_DNS_CLIENT_RESPONSE 213 | ||
656 | |||
657 | /** | ||
658 | * Type of messages between the gnunet-helper-dns and the service | ||
659 | */ | ||
660 | #define GNUNET_MESSAGE_TYPE_DNS_HELPER 214 | ||
642 | 661 | ||
643 | 662 | ||
644 | /******************************************************************************* | 663 | /******************************************************************************* |