aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-09-07 09:41:31 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-09-07 09:41:31 +0000
commite235a13a6a660da6f4f89139824cc30f59c67e6e (patch)
treee0dac841f95c82948b118843d6ab8bc40a01f801 /src/transport/plugin_transport_http.c
parentd43e48223cf597757b421d720719a7f921ea38a5 (diff)
downloadgnunet-e235a13a6a660da6f4f89139824cc30f59c67e6e.tar.gz
gnunet-e235a13a6a660da6f4f89139824cc30f59c67e6e.zip
doxygen documentation
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r--src/transport/plugin_transport_http.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c
index ec000333b..d05f4e012 100644
--- a/src/transport/plugin_transport_http.c
+++ b/src/transport/plugin_transport_http.c
@@ -433,8 +433,8 @@ static char * create_url(void * cls, const void * addr, size_t addrlen, size_t i
433 433
434/** 434/**
435 * Removes a message from the linked list of messages 435 * Removes a message from the linked list of messages
436 * @param con connection to remove message from 436 * @param ps session
437 * @param msg message to remove 437 * @param msg message
438 * @return GNUNET_SYSERR if msg not found, GNUNET_OK on success 438 * @return GNUNET_SYSERR if msg not found, GNUNET_OK on success
439 */ 439 */
440static int remove_http_message (struct Session * ps, struct HTTP_Message * msg) 440static int remove_http_message (struct Session * ps, struct HTTP_Message * msg)
@@ -451,7 +451,7 @@ int remove_peer_context_Iterator (void *cls, const GNUNET_HashCode *key, void *v
451 * @param pc peer context 451 * @param pc peer context
452 * @param ps session 452 * @param ps session
453 * @param call_msg_cont GNUNET_YES to call pending message continuations, otherwise no 453 * @param call_msg_cont GNUNET_YES to call pending message continuations, otherwise no
454 * @param call_msg_cont_result, result to call message continuations with 454 * @param call_msg_cont_result result to call message continuations with
455 * @return GNUNET_SYSERR if msg not found, GNUNET_OK on success 455 * @return GNUNET_SYSERR if msg not found, GNUNET_OK on success
456 */ 456 */
457static int remove_session (struct HTTP_PeerContext * pc, struct Session * ps, int call_msg_cont, int call_msg_cont_result) 457static int remove_session (struct HTTP_PeerContext * pc, struct Session * ps, int call_msg_cont, int call_msg_cont_result)
@@ -1509,7 +1509,7 @@ static void curl_perform (void *cls,
1509 1509
1510/** 1510/**
1511 * Function setting up file descriptors and scheduling task to run 1511 * Function setting up file descriptors and scheduling task to run
1512 * @param ses session to send data to 1512 * @param cls plugin as closure
1513 * @return GNUNET_SYSERR for hard failure, GNUNET_OK for ok 1513 * @return GNUNET_SYSERR for hard failure, GNUNET_OK for ok
1514 */ 1514 */
1515static int curl_schedule(void *cls) 1515static int curl_schedule(void *cls)
@@ -1575,8 +1575,7 @@ static int curl_schedule(void *cls)
1575/** 1575/**
1576 * Function setting up curl handle and selecting message to send 1576 * Function setting up curl handle and selecting message to send
1577 * @param cls plugin 1577 * @param cls plugin
1578 * @param ses session to send data to 1578 * @param ps session
1579 * @param con connection
1580 * @return GNUNET_SYSERR on failure, GNUNET_NO if connecting, GNUNET_YES if ok 1579 * @return GNUNET_SYSERR on failure, GNUNET_NO if connecting, GNUNET_YES if ok
1581 */ 1580 */
1582static ssize_t send_check_connections (void *cls, struct Session *ps) 1581static ssize_t send_check_connections (void *cls, struct Session *ps)
@@ -1859,7 +1858,7 @@ static struct Session * send_select_session (void * cls, struct HTTP_PeerContext
1859 * @param msgbuf_size number of bytes in 'msgbuf' 1858 * @param msgbuf_size number of bytes in 'msgbuf'
1860 * @param priority how important is the message (most plugins will 1859 * @param priority how important is the message (most plugins will
1861 * ignore message priority and just FIFO) 1860 * ignore message priority and just FIFO)
1862 * @param timeout how long to wait at most for the transmission (does not 1861 * @param to how long to wait at most for the transmission (does not
1863 * require plugins to discard the message after the timeout, 1862 * require plugins to discard the message after the timeout,
1864 * just advisory for the desired delay; most plugins will ignore 1863 * just advisory for the desired delay; most plugins will ignore
1865 * this as well) 1864 * this as well)