diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-10-22 11:56:38 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-10-22 11:56:38 +0000 |
commit | 7988052e4301fdba66391875ea6f7822669e72fd (patch) | |
tree | 9138be98630f69bc8ae59b05a72c53d0c4a9903c /src/transport/plugin_transport_http_client.c | |
parent | 7fa4f272efe39be2f8d29ac44e30f4a9f00a333d (diff) | |
download | gnunet-7988052e4301fdba66391875ea6f7822669e72fd.tar.gz gnunet-7988052e4301fdba66391875ea6f7822669e72fd.zip |
doxygen errors
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 30 |
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 @@ | |||
48 | #include <curl/curl.h> | 48 | #include <curl/curl.h> |
49 | 49 | ||
50 | 50 | ||
51 | |||
51 | /** | 52 | /** |
52 | * Encapsulation of all of the state of the plugin. | 53 | * Encapsulation of all of the state of the plugin. |
53 | */ | 54 | */ |
@@ -369,19 +370,18 @@ client_exist_session (struct HTTP_Client_Plugin *plugin, struct Session *s) | |||
369 | return GNUNET_NO; | 370 | return GNUNET_NO; |
370 | } | 371 | } |
371 | 372 | ||
372 | |||
373 | /** | 373 | /** |
374 | * Function to log curl debug messages with GNUNET_log | 374 | * Loggging function |
375 | * | 375 | * |
376 | * @param curl handle | 376 | * @param curl the curl easy handle |
377 | * @param type curl_infotype | 377 | * @param type message type |
378 | * @param data data | 378 | * @param data data as a not \0-terminated string |
379 | * @param size size | 379 | * @param size data length |
380 | * @param cls closure | 380 | * @param cls the closure |
381 | * @return 0 | 381 | * @return always 0 |
382 | */ | 382 | */ |
383 | static int | 383 | static int |
384 | client_log (CURL * curl, curl_infotype type, char *data, size_t size, void *cls) | 384 | client_log (CURL *curl, curl_infotype type, char *data, size_t size, void *cls) |
385 | { | 385 | { |
386 | struct ConnectionHandle *ch = cls; | 386 | struct ConnectionHandle *ch = cls; |
387 | char *ttype = "UNSPECIFIED"; | 387 | char *ttype = "UNSPECIFIED"; |
@@ -432,7 +432,6 @@ client_log (CURL * curl, curl_infotype type, char *data, size_t size, void *cls) | |||
432 | } | 432 | } |
433 | 433 | ||
434 | 434 | ||
435 | |||
436 | /** | 435 | /** |
437 | * Function that can be used by the transport service to transmit | 436 | * Function that can be used by the transport service to transmit |
438 | * a message using the plugin. Note that in the case of a | 437 | * 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) | |||
462 | */ | 461 | */ |
463 | static ssize_t | 462 | static ssize_t |
464 | http_client_plugin_send (void *cls, | 463 | http_client_plugin_send (void *cls, |
465 | struct Session *s, | 464 | struct Session *s, |
466 | const char *msgbuf, size_t msgbuf_size, | 465 | const char *msgbuf, size_t msgbuf_size, |
467 | unsigned int priority, | 466 | unsigned int priority, |
468 | struct GNUNET_TIME_Relative to, | 467 | struct GNUNET_TIME_Relative to, |
469 | GNUNET_TRANSPORT_TransmitContinuation cont, void *cont_cls) | 468 | GNUNET_TRANSPORT_TransmitContinuation cont, |
469 | void *cont_cls) | ||
470 | { | 470 | { |
471 | struct HTTP_Client_Plugin *plugin = cls; | 471 | struct HTTP_Client_Plugin *plugin = cls; |
472 | struct HTTP_Message *msg; | 472 | struct HTTP_Message *msg; |