aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-28 15:56:09 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-28 15:56:09 +0000
commit7860a8fa9e6cca9f59efbfee307a01545578f59f (patch)
tree5b67fbd18646dfa9d4ae472d6a995e86c384b5e7 /src/transport/plugin_transport_http_client.c
parent26482491f9faa76ae8b98e27694c14d5140c1e69 (diff)
downloadgnunet-7860a8fa9e6cca9f59efbfee307a01545578f59f.tar.gz
gnunet-7860a8fa9e6cca9f59efbfee307a01545578f59f.zip
-doxygen fixes
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r--src/transport/plugin_transport_http_client.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c
index 96bd176f4..013b3f544 100644
--- a/src/transport/plugin_transport_http_client.c
+++ b/src/transport/plugin_transport_http_client.c
@@ -75,6 +75,7 @@ client_run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
75 * Function setting up file descriptors and scheduling task to run 75 * Function setting up file descriptors and scheduling task to run
76 * 76 *
77 * @param plugin plugin as closure 77 * @param plugin plugin as closure
78 * @param now schedule task in 1ms, regardless of what curl may say
78 * @return GNUNET_SYSERR for hard failure, GNUNET_OK for ok 79 * @return GNUNET_SYSERR for hard failure, GNUNET_OK for ok
79 */ 80 */
80static int 81static int
@@ -115,7 +116,7 @@ client_schedule (struct Plugin *plugin, int now)
115 else 116 else
116 timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, to); 117 timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, to);
117 if (now == GNUNET_YES) 118 if (now == GNUNET_YES)
118 timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 1); 119 timeout = GNUNET_TIME_UNIT_MILLISECONDS;
119 120
120 if (mret != CURLM_OK) 121 if (mret != CURLM_OK)
121 { 122 {
@@ -358,7 +359,7 @@ client_wake_up (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
358* @param stream pointer where to write data 359* @param stream pointer where to write data
359* @param size size of an individual element 360* @param size size of an individual element
360* @param nmemb count of elements that can be written to the buffer 361* @param nmemb count of elements that can be written to the buffer
361* @param ptr destination pointer, passed to the libcurl handle 362* @param cls destination pointer, passed to the libcurl handle
362* @return bytes read from stream 363* @return bytes read from stream
363*/ 364*/
364static size_t 365static size_t
@@ -413,7 +414,7 @@ client_receive (void *stream, size_t size, size_t nmemb, void *cls)
413 * @param stream pointer where to write data 414 * @param stream pointer where to write data
414 * @param size size of an individual element 415 * @param size size of an individual element
415 * @param nmemb count of elements that can be written to the buffer 416 * @param nmemb count of elements that can be written to the buffer
416 * @param ptr source pointer, passed to the libcurl handle 417 * @param cls source pointer, passed to the libcurl handle
417 * @return bytes written to stream, returning 0 will terminate connection! 418 * @return bytes written to stream, returning 0 will terminate connection!
418 */ 419 */
419static size_t 420static size_t