-fix doxygen
authorChristian Grothoff <christian@grothoff.org>
Sun, 22 Jun 2014 22:19:02 +0000 (22:19 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 22 Jun 2014 22:19:02 +0000 (22:19 +0000)
src/dht/gnunet_dht_profiler.c

index 9921c0aedd58fbde3fe25c34a0918db6f608fd44..724a75d8abadc4ed143427071a19c8d808b56d5e 100644 (file)
@@ -21,7 +21,7 @@
 /**
  * @file dht/gnunet_dht_profiler.c
  * @brief Profiler for GNUnet DHT
- * @author Sree Harsha Totakura <sreeharsha@totakura.in> 
+ * @author Sree Harsha Totakura <sreeharsha@totakura.in>
  */
 
 #include "platform.h"
@@ -114,7 +114,7 @@ struct ActiveContext
   struct GNUNET_DHT_GetHandle *dht_get;
 
   /**
-   * The hash of the @put_data
+   * The hash of the @put_data
    */
   struct GNUNET_HashCode hash;
 
@@ -124,7 +124,7 @@ struct ActiveContext
   GNUNET_SCHEDULER_TaskIdentifier delay_task;
 
   /**
-   * The size of the put_data
+   * The size of the @e put_data
    */
   uint16_t put_data_size;
 
@@ -212,14 +212,14 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   struct ActiveContext *ac;
   unsigned int cnt;
-  
+
   if (NULL != a_ctx)
   {
     for (cnt=0; cnt < num_peers; cnt++)
     {
       if (NULL != a_ctx[cnt].op)
         GNUNET_TESTBED_operation_done (a_ctx[cnt].op);
-      
+
       /* Cleanup active context if this peer is an active peer */
       ac = a_ctx[cnt].ac;
       if (NULL == ac)
@@ -293,7 +293,7 @@ cancel_get (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
  * @param size number of bytes in @a data
  * @param data pointer to the result data
  */
-static void 
+static void
 get_iter (void *cls,
           struct GNUNET_TIME_Absolute exp,
           const struct GNUNET_HashCode *key,
@@ -306,7 +306,7 @@ get_iter (void *cls,
 {
   struct ActiveContext *ac = cls;
   struct ActiveContext *get_ac = ac->get_ac;
-  
+
   if (get_ac->put_data_size != size)
   {
     DEBUG ("Found a GET with incorrect data length (this may happen, but very unlikely)\n");
@@ -413,7 +413,7 @@ delayed_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
   ac->put_data_size += GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK,
                                                  (63*1024));
   ac->put_data = GNUNET_malloc (ac->put_data_size);
-  GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, 
+  GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK,
                               ac->put_data, ac->put_data_size);
   GNUNET_CRYPTO_hash (ac->put_data, ac->put_data_size, &ac->hash);
   DEBUG ("Doing a DHT PUT with data of size %u\n", ac->put_data_size);
@@ -487,7 +487,7 @@ dht_connect (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg)
  * @param cls the active context
  * @param op_result service handle returned from the connect adapter
  */
-static void 
+static void
 dht_disconnect (void *cls, void *op_result)
 {
   struct ActiveContext *ac = cls;
@@ -560,7 +560,7 @@ test_run (void *cls,
   }
   INFO ("%u peers started\n", num_peers);
   a_ctx = GNUNET_malloc (sizeof (struct Context) * num_peers);
-  
+
   /* select the peers which actively participate in profiling */
   n_active = num_peers * PUT_PROBABILITY / 100;
   if (0 == n_active)
@@ -611,7 +611,7 @@ run (void *cls, char *const *args, const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *config)
 {
   uint64_t event_mask;
-  
+
   if (0 == num_peers)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Exiting as the number of peers is %u\n"),