doxygen
authorNathan S. Evans <evans@in.tum.de>
Sun, 20 Jun 2010 15:49:00 +0000 (15:49 +0000)
committerNathan S. Evans <evans@in.tum.de>
Sun, 20 Jun 2010 15:49:00 +0000 (15:49 +0000)
src/dv/gnunet-service-dv.c

index 932784fcb2ce500a1348d4aab9819553b0e473ad..72dc402888b84da29b44192400b04ddc97497afb 100644 (file)
@@ -1031,6 +1031,7 @@ find_least_cost_peer (void *cls,
   return GNUNET_YES;
 }
 
+#if DEBUG_DV_MESSAGES
 /**
  * Send a DV data message via DV.
  *
@@ -1040,11 +1041,22 @@ find_least_cost_peer (void *cls,
  * @param message the packed message
  * @param message_size size of the message
  * @param importance what priority to send this message with
-#if DEBUG_DV_MESSAGES
  * @param uid unique id for this message
-#endif
  * @param timeout how long to possibly delay sending this message
  */
+#else
+/**
+ * Send a DV data message via DV.
+ *
+ * @param recipient the ultimate recipient of this message
+ * @param sender the original sender of the message
+ * @param specific_neighbor the specific neighbor to send this message via
+ * @param message the packed message
+ * @param message_size size of the message
+ * @param importance what priority to send this message with
+ * @param timeout how long to possibly delay sending this message
+ */
+#endif
 static int
 send_message (const struct GNUNET_PeerIdentity * recipient,
               const struct GNUNET_PeerIdentity * sender,