-doxygen fixes
authorChristian Grothoff <christian@grothoff.org>
Sat, 23 Mar 2013 23:29:49 +0000 (23:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 23 Mar 2013 23:29:49 +0000 (23:29 +0000)
src/arm/arm_api.c
src/arm/gnunet-arm.c
src/chat/gnunet-service-chat.c
src/consensus/ibf.c
src/consensus/ibf.h
src/include/gnunet_arm_service.h
src/transport/gnunet-service-transport_neighbours.c
src/transport/gnunet-service-transport_neighbours.h
src/transport/gnunet-transport.c

index 49cc5531569ec6fd1e6fc2af68b0e6a53c027f11..9b235f023eeb8a825b8daf3dc968efc6f7aae411 100644 (file)
@@ -444,29 +444,29 @@ GNUNET_ARM_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
  * @param h the handle that was being used
  */
 void
-GNUNET_ARM_disconnect_and_free (struct GNUNET_ARM_Handle *handle)
+GNUNET_ARM_disconnect_and_free (struct GNUNET_ARM_Handle *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;
   }
-  clear_pending_messages (handle, GNUNET_ARM_REQUEST_DISCONNECTED);
-  if (NULL != handle->client)
+  clear_pending_messages (h, GNUNET_ARM_REQUEST_DISCONNECTED);
+  if (NULL != h->client)
   {
-    GNUNET_CLIENT_disconnect (handle->client);
-    handle->client = NULL;
+    GNUNET_CLIENT_disconnect (h->client);
+    h->client = 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;
   }
-  if (GNUNET_NO == handle->service_test_is_active)
+  if (GNUNET_NO == h->service_test_is_active)
   {
-    GNUNET_CONFIGURATION_destroy (handle->cfg);
-    GNUNET_free (handle);
+    GNUNET_CONFIGURATION_destroy (h->cfg);
+    GNUNET_free (h);
   }
 }
 
index 3d94fed80e358fbf4531aff2b7da83761324cfe3..aae8b9edacfe0b5d2e3aeb730ce0df78310de99b 100644 (file)
@@ -248,11 +248,10 @@ static void action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *t
  * @param arm handle to the ARM connection
  * @param connected GNUNET_YES if connected, GNUNET_NO if disconnected,
  *                  GNUNET_SYSERR on error.
- * @param error GNUNET_YES if we encountered a permanent error, and there
- *              will be no re-connection.
  */
 static void
-conn_status (void *cls, struct GNUNET_ARM_Handle *arm, char connected)
+conn_status (void *cls, struct GNUNET_ARM_Handle *arm, 
+            int connected)
 {
   if (GNUNET_SYSERR == connected)
   {
@@ -576,13 +575,13 @@ run (void *cls, char *const *args, const char *cfgfile,
     else
       GNUNET_free (armconfig);
   }
-  h = GNUNET_ARM_connect (cfg, conn_status, NULL);
+  h = GNUNET_ARM_connect (cfg, &conn_status, NULL);
   if (NULL != h)
   {
-    m = GNUNET_ARM_monitor (cfg, srv_status, NULL);
+    m = GNUNET_ARM_monitor (cfg, &srv_status, NULL);
     if (NULL != m)
     {
-      GNUNET_SCHEDULER_add_now (action_loop, NULL);
+      GNUNET_SCHEDULER_add_now (&action_loop, NULL);
       GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
           shutdown_task, NULL);
     }
index e01143cf7a9a39a90bd7072797ae9a3797972d47..9c3fcfb39b4526d602b48d8d2c9bd6ed4b30c190 100644 (file)
@@ -1358,8 +1358,6 @@ handle_p2p_sync_request (void *cls, const struct GNUNET_PeerIdentity *other,
  * @param cls closure, always NULL
  * @param other the other peer involved
  * @param message the actual message
- * @param atsi performance information
- * @param atsi_count number of entries in atsi
  * @return GNUNET_OK to keep the connection open,
  *         GNUNET_SYSERR to close it (signal serious error)
  */
index 2d2949334cce7b9ca1ff96f9ca104b327380411e..87dbdd6960dd07416c5195852225f2c2ce26bd3c 100644 (file)
@@ -174,7 +174,7 @@ ibf_is_empty (struct InvertibleBloomFilter *ibf)
  * @param ret_side sign of the cell's count where the decoded element came from.
  *                 A negative sign indicates that the element was recovered
  *                 resides in an IBF that was previously subtracted from.
- * @param ret_key receives the hash code of the decoded element, if successful
+ * @param ret_id receives the hash code of the decoded element, if successful
  * @return GNUNET_YES if decoding an element was successful,
  *         GNUNET_NO if the IBF is empty,
  *         GNUNET_SYSERR if the decoding has failed
index d6c3874aa5b2b3dcf23e58baa8bb94540a279a65..609653889be4f9edc508ca300a5fb2a3acb43932 100644 (file)
@@ -223,13 +223,13 @@ ibf_subtract (struct InvertibleBloomFilter *ibf1, const struct InvertibleBloomFi
  * @param ret_side sign of the cell's count where the decoded element came from.
  *                 A negative sign indicates that the element was recovered
  *                 resides in an IBF that was previously subtracted from.
- * @param ret_key receives the hash code of the decoded element, if successful
+ * @param ret_id receives the hash code of the decoded element, if successful
  * @return GNUNET_YES if decoding an element was successful,
  *         GNUNET_NO if the IBF is empty,
  *         GNUNET_SYSERR if the decoding has failed
  */
 int
-ibf_decode (struct InvertibleBloomFilter *ibf, int *ret_side, struct IBF_Key *ret_key);
+ibf_decode (struct InvertibleBloomFilter *ibf, int *ret_side, struct IBF_Key *ret_id);
 
 
 /**
index 4cc247d191f47be85d10aa1f8828e611e7f66b67..9f2c9ea50197c0c1ea43abfc45a069922d94c850 100644 (file)
@@ -184,7 +184,9 @@ struct GNUNET_ARM_Handle;
  * @param error GNUNET_YES if we encountered a permanent error, and there
  *              will be no re-connection.
  */
-typedef void (*GNUNET_ARM_ConnectionStatusCallback) (void *cls, struct GNUNET_ARM_Handle *arm, char connected);
+typedef void (*GNUNET_ARM_ConnectionStatusCallback) (void *cls, 
+                                                    struct GNUNET_ARM_Handle *arm, 
+                                                    int connected);
 
 
 /**
index 6c51daccad884b2c4ea37b2581c8112fc88a5b37..8886a344c22d0071ce9cb1dd44e77b9a05a134a0 100644 (file)
@@ -2142,8 +2142,6 @@ handle_test_blacklist_cont (void *cls,
  * @param address address of the other peer, NULL if other peer
  *                       connected to us
  * @param session session to use (or NULL)
- * @param ats performance data
- * @param ats_count number of entries in ats (excluding 0-termination)
  */
 static void
 check_blacklist (const struct GNUNET_PeerIdentity *peer,
@@ -2181,8 +2179,6 @@ check_blacklist (const struct GNUNET_PeerIdentity *peer,
  * @param address address of the other peer, NULL if other peer
  *                       connected to us
  * @param session session to use (or NULL)
- * @param ats performance data
- * @param ats_count number of entries in ats (excluding 0-termination)
  */
 void
 GST_neighbours_handle_connect (const struct GNUNET_MessageHeader *message,
@@ -2745,8 +2741,6 @@ send_session_ack_message (struct NeighbourMapEntry *n)
  * @param address address of the other peer, NULL if other peer
  *                       connected to us
  * @param session session to use (or NULL)
- * @param ats performance data
- * @param ats_count number of entries in ats
  */
 void
 GST_neighbours_handle_connect_ack (const struct GNUNET_MessageHeader *message,
index fbf7d7819f62b82543781c4f9c2967b4f4b039a0..aae0a82b820f683c034579686acd58231003f806 100644 (file)
@@ -168,8 +168,6 @@ GST_neighbours_force_disconnect (const struct GNUNET_PeerIdentity *target);
  *
  * @param cls closure
  * @param neighbour identity of the neighbour
- * @param ats performance data
- * @param ats_count number of entries in ats (including 0-termination)
  * @param address the address (or NULL)
  * @param bandwidth_in inbound quota in NBO
  * @param bandwidth_out outbound quota in NBO
index 929963127595f58bc1f0cf6522be826fb21cd1dd..1c3b5e59c5aaed56eaa6d8cb889c4f6bc58dbf1e 100644 (file)
@@ -515,8 +515,6 @@ transmit_data (void *cls, size_t size, void *buf)
  *
  * @param cls closure
  * @param peer the peer that connected
- * @param ats performance data
- * @param ats_count number of entries in ats (excluding 0-termination)
  */
 static void
 notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer)