summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-10-22 11:56:38 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-10-22 11:56:38 +0000
commit7988052e4301fdba66391875ea6f7822669e72fd (patch)
tree9138be98630f69bc8ae59b05a72c53d0c4a9903c
parent7fa4f272efe39be2f8d29ac44e30f4a9f00a333d (diff)
doxygen errors
-rw-r--r--src/transport/plugin_transport_http_client.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c
index eb8e66988..8eca99857 100644
--- a/src/transport/plugin_transport_http_client.c
+++ b/src/transport/plugin_transport_http_client.c
@@ -48,6 +48,7 @@
#include <curl/curl.h>
+
/**
* Encapsulation of all of the state of the plugin.
*/
@@ -369,19 +370,18 @@ client_exist_session (struct HTTP_Client_Plugin *plugin, struct Session *s)
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 @@ client_log (CURL * curl, curl_infotype type, char *data, size_t size, void *cls)
}
-
/**
* 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 @@ client_log (CURL * curl, curl_infotype type, char *data, size_t size, void *cls)
*/
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;