gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r24448 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r24448 - gnunet/src/transport
Date: Mon, 22 Oct 2012 13:56:38 +0200

Author: wachs
Date: 2012-10-22 13:56:38 +0200 (Mon, 22 Oct 2012)
New Revision: 24448

Modified:
   gnunet/src/transport/plugin_transport_http_client.c
Log:
doxygen errors

Modified: gnunet/src/transport/plugin_transport_http_client.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_client.c 2012-10-22 11:51:58 UTC 
(rev 24447)
+++ gnunet/src/transport/plugin_transport_http_client.c 2012-10-22 11:56:38 UTC 
(rev 24448)
@@ -48,6 +48,7 @@
 #include <curl/curl.h>
 
 
+
 /**
  * Encapsulation of all of the state of the plugin.
  */
@@ -369,19 +370,18 @@
   return GNUNET_NO;
 }
 
-
 /**
- * Function to log curl debug messages with GNUNET_log
+ * Loggging function
  *
- * @param curl handle
- * @param type curl_infotype
- * @param data data
- * @param size size
- * @param cls  closure
- * @return 0
+ * @param curl the curl easy handle
+ * @param type message type
+ * @param data data as a not \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, char *data, size_t size, void *cls)
 {
   struct ConnectionHandle *ch = cls;
   char *ttype = "UNSPECIFIED";
@@ -432,7 +432,6 @@
 }
 
 
-
 /**
  * Function that can be used by the transport service to transmit
  * a message using the plugin.   Note that in the case of a
@@ -462,11 +461,12 @@
  */
 static ssize_t
 http_client_plugin_send (void *cls,
-                  struct Session *s,
-                  const char *msgbuf, size_t msgbuf_size,
-                  unsigned int priority,
-                  struct GNUNET_TIME_Relative to,
-                  GNUNET_TRANSPORT_TransmitContinuation cont, void *cont_cls)
+                         struct Session *s,
+                         const char *msgbuf, size_t msgbuf_size,
+                         unsigned int priority,
+                         struct GNUNET_TIME_Relative to,
+                         GNUNET_TRANSPORT_TransmitContinuation cont,
+                         void *cont_cls)
 {
   struct HTTP_Client_Plugin *plugin = cls;
   struct HTTP_Message *msg;




reply via email to

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