gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18941 - in gnunet/src: dns include


From: gnunet
Subject: [GNUnet-SVN] r18941 - in gnunet/src: dns include
Date: Mon, 2 Jan 2012 15:28:15 +0100

Author: grothoff
Date: 2012-01-02 15:28:15 +0100 (Mon, 02 Jan 2012)
New Revision: 18941

Modified:
   gnunet/src/dns/Makefile.am
   gnunet/src/include/gnunet_protocols.h
Log:
-implementing new DNS client API

Modified: gnunet/src/dns/Makefile.am
===================================================================
--- gnunet/src/dns/Makefile.am  2012-01-02 12:46:53 UTC (rev 18940)
+++ gnunet/src/dns/Makefile.am  2012-01-02 14:28:15 UTC (rev 18941)
@@ -28,6 +28,7 @@
 
 lib_LTLIBRARIES = \
   libgnunetdnsparser.la \
+  libgnunetdnsnew.la \
   libgnunetdns.la
 
 bin_PROGRAMS = \
@@ -68,6 +69,13 @@
 libgnunetdns_la_LDFLAGS = \
   $(GN_LIB_LDFLAGS)
 
+libgnunetdnsnew_la_SOURCES = \
+ dns_api_new.c dns_new.h
+libgnunetdnsnew_la_LIBADD = \
+ $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
+libgnunetdnsnew_la_LDFLAGS = \
+  $(GN_LIB_LDFLAGS)
+
 libgnunet_plugin_block_dns_la_SOURCES = \
   plugin_block_dns.c
 libgnunet_plugin_block_dns_la_LIBADD = \

Modified: gnunet/src/include/gnunet_protocols.h
===================================================================
--- gnunet/src/include/gnunet_protocols.h       2012-01-02 12:46:53 UTC (rev 
18940)
+++ gnunet/src/include/gnunet_protocols.h       2012-01-02 14:28:15 UTC (rev 
18941)
@@ -639,8 +639,27 @@
  */
 #define GNUNET_MESSAGE_TYPE_VPN_REMOTE_ANSWER_DNS 209
 
+/**
+ * Initial message from client to DNS service for registration.
+ */
+#define GNUNET_MESSAGE_TYPE_DNS_CLIENT_INIT 211
 
+/**
+ * Type of messages between the gnunet-helper-dns and the service
+ */
+#define GNUNET_MESSAGE_TYPE_DNS_CLIENT_REQUEST 212
 
+/**
+ * Type of messages between the gnunet-helper-dns and the service
+ */
+#define GNUNET_MESSAGE_TYPE_DNS_CLIENT_RESPONSE 213
+
+/**
+ * Type of messages between the gnunet-helper-dns and the service
+ */
+#define GNUNET_MESSAGE_TYPE_DNS_HELPER 214
+
+
 
/*******************************************************************************
  * MESH message types
  
******************************************************************************/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]