gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r23883 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r23883 - gnunet/src/include
Date: Tue, 18 Sep 2012 14:41:30 +0200

Author: grothoff
Date: 2012-09-18 14:41:30 +0200 (Tue, 18 Sep 2012)
New Revision: 23883

Modified:
   gnunet/src/include/gnunet_gns_service.h
   gnunet/src/include/gnunet_protocols.h
Log:
-peer review

Modified: gnunet/src/include/gnunet_gns_service.h
===================================================================
--- gnunet/src/include/gnunet_gns_service.h     2012-09-18 12:41:26 UTC (rev 
23882)
+++ gnunet/src/include/gnunet_gns_service.h     2012-09-18 12:41:30 UTC (rev 
23883)
@@ -215,7 +215,7 @@
  * called only once
  *
  * @param cls closure
- * @param short_name the shortened name or NULL if no result
+ * @param short_name the shortened name or NULL if no result / error
  */
 typedef void (*GNUNET_GNS_ShortenResultProcessor) (void *cls,
                                                   const char* short_name);

Modified: gnunet/src/include/gnunet_protocols.h
===================================================================
--- gnunet/src/include/gnunet_protocols.h       2012-09-18 12:41:26 UTC (rev 
23882)
+++ gnunet/src/include/gnunet_protocols.h       2012-09-18 12:41:30 UTC (rev 
23883)
@@ -1554,9 +1554,26 @@
 
 
 /**
- *  Next available: 500
+ * GNS. FIXME: document!
  */
+#define GNUNET_MESSAGE_TYPE_GNS_LOOKUP 500
 
+#define GNUNET_MESSAGE_TYPE_GNS_LOOKUP_RESULT 501
+
+#define GNUNET_MESSAGE_TYPE_GNS_SHORTEN 502
+
+#define GNUNET_MESSAGE_TYPE_GNS_SHORTEN_RESULT 503
+
+#define GNUNET_MESSAGE_TYPE_GNS_GET_AUTH 504
+
+#define GNUNET_MESSAGE_TYPE_GNS_GET_AUTH_RESULT 505
+
+
+/**
+ *  Next available: 520
+ */
+
+
 
/*******************************************************************************
  * TODO: we need a way to register message types centrally (via some webpage).
  * For now: unofficial extensions should start at 48k, internal extensions




reply via email to

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