doxygen documentation
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 7 Sep 2010 09:41:31 +0000 (09:41 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 7 Sep 2010 09:41:31 +0000 (09:41 +0000)
src/transport/plugin_transport_http.c

index ec000333ba72738a83594aa0969191f6054599c7..d05f4e0120136e8b57e928d80f08dc5b9d418135 100644 (file)
@@ -433,8 +433,8 @@ static char * create_url(void * cls, const void * addr, size_t addrlen, size_t i
 
 /**
  * Removes a message from the linked list of messages
- * @param con connection to remove message from
- * @param msg message to remove
+ * @param ps session
+ * @param msg message
  * @return GNUNET_SYSERR if msg not found, GNUNET_OK on success
  */
 static 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
  * @param pc peer context
  * @param ps session
  * @param call_msg_cont GNUNET_YES to call pending message continuations, otherwise no
- * @param call_msg_cont_result, result to call message continuations with
+ * @param call_msg_cont_result result to call message continuations with
  * @return GNUNET_SYSERR if msg not found, GNUNET_OK on success
  */
 static 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,
 
 /**
  * Function setting up file descriptors and scheduling task to run
- * @param ses session to send data to
+ * @param cls plugin as closure
  * @return GNUNET_SYSERR for hard failure, GNUNET_OK for ok
  */
 static int curl_schedule(void *cls)
@@ -1575,8 +1575,7 @@ static int curl_schedule(void *cls)
 /**
  * Function setting up curl handle and selecting message to send
  * @param cls plugin
- * @param ses session to send data to
- * @param con connection
+ * @param ps session
  * @return GNUNET_SYSERR on failure, GNUNET_NO if connecting, GNUNET_YES if ok
  */
 static 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
  * @param msgbuf_size number of bytes in 'msgbuf'
  * @param priority how important is the message (most plugins will
  *                 ignore message priority and just FIFO)
- * @param timeout how long to wait at most for the transmission (does not
+ * @param to how long to wait at most for the transmission (does not
  *                require plugins to discard the message after the timeout,
  *                just advisory for the desired delay; most plugins will ignore
  *                this as well)