gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r26616 - in gnunet/src: arm fs nse


From: gnunet
Subject: [GNUnet-SVN] r26616 - in gnunet/src: arm fs nse
Date: Wed, 27 Mar 2013 09:55:57 +0100

Author: grothoff
Date: 2013-03-27 09:55:57 +0100 (Wed, 27 Mar 2013)
New Revision: 26616

Modified:
   gnunet/src/arm/arm_monitor_api.c
   gnunet/src/fs/gnunet-service-fs.c
   gnunet/src/nse/gnunet-nse-profiler.c
Log:
-doxygen

Modified: gnunet/src/arm/arm_monitor_api.c
===================================================================
--- gnunet/src/arm/arm_monitor_api.c    2013-03-27 08:30:10 UTC (rev 26615)
+++ gnunet/src/arm/arm_monitor_api.c    2013-03-27 08:55:57 UTC (rev 26616)
@@ -273,31 +273,31 @@
  * @param h the handle that was being used
  */
 void
-GNUNET_ARM_monitor_disconnect_and_free (struct GNUNET_ARM_MonitorHandle 
*handle)
+GNUNET_ARM_monitor_disconnect_and_free (struct GNUNET_ARM_MonitorHandle *h)
 {
   LOG (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from ARM service\n");
-  if (NULL != handle->cth)
+  if (NULL != h->cth)
   {
-    GNUNET_CLIENT_notify_transmit_ready_cancel (handle->cth);
-    handle->cth = NULL;
+    GNUNET_CLIENT_notify_transmit_ready_cancel (h->cth);
+    h->cth = NULL;
   }
-  if (GNUNET_SCHEDULER_NO_TASK != handle->init_timeout_task_id)
+  if (GNUNET_SCHEDULER_NO_TASK != h->init_timeout_task_id)
   {
-    GNUNET_SCHEDULER_cancel (handle->init_timeout_task_id);
-    handle->init_timeout_task_id = GNUNET_SCHEDULER_NO_TASK;
+    GNUNET_SCHEDULER_cancel (h->init_timeout_task_id);
+    h->init_timeout_task_id = GNUNET_SCHEDULER_NO_TASK;
   }
-  if (NULL != handle->monitor)
+  if (NULL != h->monitor)
   {
-    GNUNET_CLIENT_disconnect (handle->monitor);
-    handle->monitor = NULL;
+    GNUNET_CLIENT_disconnect (h->monitor);
+    h->monitor = NULL;
   }
-  if (GNUNET_SCHEDULER_NO_TASK != handle->reconnect_task)
+  if (GNUNET_SCHEDULER_NO_TASK != h->reconnect_task)
   {
-    GNUNET_SCHEDULER_cancel (handle->reconnect_task);
-    handle->reconnect_task = GNUNET_SCHEDULER_NO_TASK;
+    GNUNET_SCHEDULER_cancel (h->reconnect_task);
+    h->reconnect_task = GNUNET_SCHEDULER_NO_TASK;
   }
-  GNUNET_CONFIGURATION_destroy (handle->cfg);
-  GNUNET_free (handle);
+  GNUNET_CONFIGURATION_destroy (h->cfg);
+  GNUNET_free (h);
 }
 
 

Modified: gnunet/src/fs/gnunet-service-fs.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs.c   2013-03-27 08:30:10 UTC (rev 26615)
+++ gnunet/src/fs/gnunet-service-fs.c   2013-03-27 08:55:57 UTC (rev 26616)
@@ -211,6 +211,7 @@
  * to even consider processing the query at
  * all.
  *
+ * @param priority priority of the request (used as a reference point to 
compare with the load)
  * @return GNUNET_YES if the load is too high to do anything (load high)
  *         GNUNET_NO to process normally (load normal)
  *         GNUNET_SYSERR to process for free (load low)

Modified: gnunet/src/nse/gnunet-nse-profiler.c
===================================================================
--- gnunet/src/nse/gnunet-nse-profiler.c        2013-03-27 08:30:10 UTC (rev 
26615)
+++ gnunet/src/nse/gnunet-nse-profiler.c        2013-03-27 08:55:57 UTC (rev 
26616)
@@ -332,7 +332,6 @@
  * @param estimate the value of the current network size estimate
  * @param std_dev standard deviation (rounded down to nearest integer)
  *                of the size estimation values seen
- *
  */
 static void
 handle_estimate (void *cls, 
@@ -668,9 +667,6 @@
 /**
  * Adjust the number of running peers to match the required number of running
  * peers for the round
- *
- * @param 
- * @return 
  */
 static void
 adjust_running_peers ()




reply via email to

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