-doxygen
authorChristian Grothoff <christian@grothoff.org>
Thu, 1 Nov 2012 16:58:00 +0000 (16:58 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 1 Nov 2012 16:58:00 +0000 (16:58 +0000)
src/gns/gns_api.c
src/mesh/gnunet-regex-profiler.c
src/testbed/gnunet-service-testbed.c
src/transport/plugin_transport_http_client.c

index a1d734df2d08d3baa2a52946a1e47686fef33a9d..1e3cb01695afcc0b472d99ea29a25d9f145e911d 100644 (file)
@@ -312,7 +312,7 @@ reconnect_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 /**
  * Disconnect from service and then reconnect.
  *
- * @param h our handle
+ * @param handle our handle
  */
 static void
 force_reconnect (struct GNUNET_GNS_Handle *handle)
index 0e7b7391ae76e5715a965f6f1ec6687f96d3bcb9..536eacccfa544b0da3b3a7b61eaaecfa068355e0 100644 (file)
@@ -1579,6 +1579,7 @@ status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *config, int stat
  * @param filename filename of the file containing the search strings.
  * @param strings set of strings loaded from file. Caller needs to free this
  *                if number returned is greater than zero.
+ * @param limit upper limit on the number of strings read from the file
  * @return number of strings found in the file. GNUNET_SYSERR on error.
  */
 static int
index d39bd82ad14ffe649cead3ea0b167c83b855e81d..ec3e000ee8fdd36cc0cf851a5e53c67fb59d5f93 100644 (file)
@@ -2239,7 +2239,7 @@ peer_create_success_cb (void *cls, const struct GNUNET_MessageHeader *msg)
 /**
  * Function to destroy a peer
  *
- * @param the peer structure to destroy
+ * @param peer the peer structure to destroy
  */
 static void
 destroy_peer (struct Peer *peer)
index 8eca998578016265453f4e4e6c7ccdde98c9fd9f..ad57e368aeef84fa8eea654139976438ff36f658 100644 (file)
@@ -344,9 +344,11 @@ client_stop_session_timeout (struct Session *s);
 static int
 client_schedule (struct HTTP_Client_Plugin *plugin, int now);
 
+
 static int
 client_connect_put (struct Session *s);
 
+
 /**
  * Does a session s exists?
  *
@@ -370,21 +372,24 @@ client_exist_session (struct HTTP_Client_Plugin *plugin, struct Session *s)
   return GNUNET_NO;
 }
 
+
 /**
  * Loggging function
  *
  * @param curl the curl easy handle
  * @param type message type
- * @param data data as a not \0-terminated string
+ * @param data data to log, NOT a 0-terminated string
  * @param size data length
  * @param cls the closure
  * @return always 0
  */
 static int
-client_log (CURL *curl, curl_infotype type, char *data, size_t size, void *cls)
+client_log (CURL *curl, curl_infotype type, 
+           const char *data, size_t size, void *cls)
 {
   struct ConnectionHandle *ch = cls;
-  char *ttype = "UNSPECIFIED";
+  const char *ttype = "UNSPECIFIED";
+
   if ((type == CURLINFO_TEXT) || (type == CURLINFO_HEADER_IN) || (type == CURLINFO_HEADER_OUT))
   {
     char text[size + 2];