diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-03-27 08:55:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-03-27 08:55:57 +0000 |
commit | 826ff84e75d9133c6493e5c4bc0fd89342b8a7bb (patch) | |
tree | 5040e6ebe54460cd16701d92aa76a3403585cb64 /src | |
parent | 90c0277126a2908ad9f169d599b38df7e4fc1218 (diff) | |
download | gnunet-826ff84e75d9133c6493e5c4bc0fd89342b8a7bb.tar.gz gnunet-826ff84e75d9133c6493e5c4bc0fd89342b8a7bb.zip |
-doxygen
Diffstat (limited to 'src')
-rw-r--r-- | src/arm/arm_monitor_api.c | 30 | ||||
-rw-r--r-- | src/fs/gnunet-service-fs.c | 1 | ||||
-rw-r--r-- | src/nse/gnunet-nse-profiler.c | 4 |
3 files changed, 16 insertions, 19 deletions
diff --git a/src/arm/arm_monitor_api.c b/src/arm/arm_monitor_api.c index fa9e0faab..685f1c334 100644 --- a/src/arm/arm_monitor_api.c +++ b/src/arm/arm_monitor_api.c | |||
@@ -273,31 +273,31 @@ GNUNET_ARM_monitor (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
273 | * @param h the handle that was being used | 273 | * @param h the handle that was being used |
274 | */ | 274 | */ |
275 | void | 275 | void |
276 | GNUNET_ARM_monitor_disconnect_and_free (struct GNUNET_ARM_MonitorHandle *handle) | 276 | GNUNET_ARM_monitor_disconnect_and_free (struct GNUNET_ARM_MonitorHandle *h) |
277 | { | 277 | { |
278 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from ARM service\n"); | 278 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from ARM service\n"); |
279 | if (NULL != handle->cth) | 279 | if (NULL != h->cth) |
280 | { | 280 | { |
281 | GNUNET_CLIENT_notify_transmit_ready_cancel (handle->cth); | 281 | GNUNET_CLIENT_notify_transmit_ready_cancel (h->cth); |
282 | handle->cth = NULL; | 282 | h->cth = NULL; |
283 | } | 283 | } |
284 | if (GNUNET_SCHEDULER_NO_TASK != handle->init_timeout_task_id) | 284 | if (GNUNET_SCHEDULER_NO_TASK != h->init_timeout_task_id) |
285 | { | 285 | { |
286 | GNUNET_SCHEDULER_cancel (handle->init_timeout_task_id); | 286 | GNUNET_SCHEDULER_cancel (h->init_timeout_task_id); |
287 | handle->init_timeout_task_id = GNUNET_SCHEDULER_NO_TASK; | 287 | h->init_timeout_task_id = GNUNET_SCHEDULER_NO_TASK; |
288 | } | 288 | } |
289 | if (NULL != handle->monitor) | 289 | if (NULL != h->monitor) |
290 | { | 290 | { |
291 | GNUNET_CLIENT_disconnect (handle->monitor); | 291 | GNUNET_CLIENT_disconnect (h->monitor); |
292 | handle->monitor = NULL; | 292 | h->monitor = NULL; |
293 | } | 293 | } |
294 | if (GNUNET_SCHEDULER_NO_TASK != handle->reconnect_task) | 294 | if (GNUNET_SCHEDULER_NO_TASK != h->reconnect_task) |
295 | { | 295 | { |
296 | GNUNET_SCHEDULER_cancel (handle->reconnect_task); | 296 | GNUNET_SCHEDULER_cancel (h->reconnect_task); |
297 | handle->reconnect_task = GNUNET_SCHEDULER_NO_TASK; | 297 | h->reconnect_task = GNUNET_SCHEDULER_NO_TASK; |
298 | } | 298 | } |
299 | GNUNET_CONFIGURATION_destroy (handle->cfg); | 299 | GNUNET_CONFIGURATION_destroy (h->cfg); |
300 | GNUNET_free (handle); | 300 | GNUNET_free (h); |
301 | } | 301 | } |
302 | 302 | ||
303 | 303 | ||
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index ebb0a3261..fd3a7073d 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -211,6 +211,7 @@ GSF_update_datastore_delay_ (struct GNUNET_TIME_Absolute start) | |||
211 | * to even consider processing the query at | 211 | * to even consider processing the query at |
212 | * all. | 212 | * all. |
213 | * | 213 | * |
214 | * @param priority priority of the request (used as a reference point to compare with the load) | ||
214 | * @return GNUNET_YES if the load is too high to do anything (load high) | 215 | * @return GNUNET_YES if the load is too high to do anything (load high) |
215 | * GNUNET_NO to process normally (load normal) | 216 | * GNUNET_NO to process normally (load normal) |
216 | * GNUNET_SYSERR to process for free (load low) | 217 | * GNUNET_SYSERR to process for free (load low) |
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c index eae5e9670..7fe803673 100644 --- a/src/nse/gnunet-nse-profiler.c +++ b/src/nse/gnunet-nse-profiler.c | |||
@@ -332,7 +332,6 @@ shutdown_now () | |||
332 | * @param estimate the value of the current network size estimate | 332 | * @param estimate the value of the current network size estimate |
333 | * @param std_dev standard deviation (rounded down to nearest integer) | 333 | * @param std_dev standard deviation (rounded down to nearest integer) |
334 | * of the size estimation values seen | 334 | * of the size estimation values seen |
335 | * | ||
336 | */ | 335 | */ |
337 | static void | 336 | static void |
338 | handle_estimate (void *cls, | 337 | handle_estimate (void *cls, |
@@ -668,9 +667,6 @@ peer_churn_cb (void *cls, const char *emsg) | |||
668 | /** | 667 | /** |
669 | * Adjust the number of running peers to match the required number of running | 668 | * Adjust the number of running peers to match the required number of running |
670 | * peers for the round | 669 | * peers for the round |
671 | * | ||
672 | * @param | ||
673 | * @return | ||
674 | */ | 670 | */ |
675 | static void | 671 | static void |
676 | adjust_running_peers () | 672 | adjust_running_peers () |