diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-06-29 13:48:27 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-06-29 13:48:27 +0000 |
commit | 75ea0957000cec727be72b3bb9a4e70f1a63a114 (patch) | |
tree | 6b4c759f60dab550c1447677286709a7ddcce334 /src | |
parent | a4bc42a33fa78f6d83d5dd34d2138f9b31c41b65 (diff) | |
download | gnunet-75ea0957000cec727be72b3bb9a4e70f1a63a114.tar.gz gnunet-75ea0957000cec727be72b3bb9a4e70f1a63a114.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/plugin_transport_http.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 74d9fac94..408023455 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -339,9 +339,11 @@ struct Plugin | |||
339 | 339 | ||
340 | /** | 340 | /** |
341 | * Create a new session | 341 | * Create a new session |
342 | * | 342 | * @param cls plugin as closure |
343 | * @param addr_in address the peer is using inbound | 343 | * @param addr_in address the peer is using inbound |
344 | * @param addr_len_in address length | ||
344 | * @param addr_out address the peer is using outbound | 345 | * @param addr_out address the peer is using outbound |
346 | * @param addr_len_out address length | ||
345 | * @param peer identity | 347 | * @param peer identity |
346 | * @return created session object | 348 | * @return created session object |
347 | */ | 349 | */ |
@@ -441,7 +443,7 @@ static char * create_url(void * cls, const void * addr, size_t addrlen) | |||
441 | * Check if session already knows this address for a outbound connection to this peer | 443 | * Check if session already knows this address for a outbound connection to this peer |
442 | * If address not in session, add it to the session | 444 | * If address not in session, add it to the session |
443 | * @param cls the plugin used | 445 | * @param cls the plugin used |
444 | * @param p the session | 446 | * @param cs the session |
445 | * @param addr address | 447 | * @param addr address |
446 | * @param addr_len address length | 448 | * @param addr_len address length |
447 | * @return the found or created address | 449 | * @return the found or created address |
@@ -487,7 +489,7 @@ static struct HTTP_Connection_out * session_check_outbound_address (void * cls, | |||
487 | * Check if session already knows this address for a inbound connection to this peer | 489 | * Check if session already knows this address for a inbound connection to this peer |
488 | * If address not in session, add it to the session | 490 | * If address not in session, add it to the session |
489 | * @param cls the plugin used | 491 | * @param cls the plugin used |
490 | * @param p the session | 492 | * @param cs the session |
491 | * @param addr address | 493 | * @param addr address |
492 | * @param addr_len address length | 494 | * @param addr_len address length |
493 | * @return the found or created address | 495 | * @return the found or created address |
@@ -863,7 +865,7 @@ static void http_server_daemon_v6_run (void *cls, | |||
863 | 865 | ||
864 | /** | 866 | /** |
865 | * Removes a message from the linked list of messages | 867 | * Removes a message from the linked list of messages |
866 | * @param ses session to remove message from | 868 | * @param con connection to remove message from |
867 | * @param msg message to remove | 869 | * @param msg message to remove |
868 | * @return GNUNET_SYSERR if msg not found, GNUNET_OK on success | 870 | * @return GNUNET_SYSERR if msg not found, GNUNET_OK on success |
869 | */ | 871 | */ |
@@ -990,6 +992,7 @@ static size_t send_write_callback( void *stream, size_t size, size_t nmemb, void | |||
990 | 992 | ||
991 | /** | 993 | /** |
992 | * Function setting up file descriptors and scheduling task to run | 994 | * Function setting up file descriptors and scheduling task to run |
995 | * @param cls closure | ||
993 | * @param ses session to send data to | 996 | * @param ses session to send data to |
994 | * @return bytes sent to peer | 997 | * @return bytes sent to peer |
995 | */ | 998 | */ |
@@ -997,7 +1000,9 @@ static size_t send_schedule(void *cls, struct Session* ses ); | |||
997 | 1000 | ||
998 | /** | 1001 | /** |
999 | * Function setting up curl handle and selecting message to send | 1002 | * Function setting up curl handle and selecting message to send |
1003 | * @param cls plugin | ||
1000 | * @param ses session to send data to | 1004 | * @param ses session to send data to |
1005 | * @param con connection | ||
1001 | * @return bytes sent to peer | 1006 | * @return bytes sent to peer |
1002 | */ | 1007 | */ |
1003 | static ssize_t send_initiate (void *cls, struct Session* ses , struct HTTP_Connection_out *con) | 1008 | static ssize_t send_initiate (void *cls, struct Session* ses , struct HTTP_Connection_out *con) |