Code cleanup

This commit is contained in:
Tatsuhiro Tsujikawa 2012-02-28 21:42:31 +09:00
parent a452893068
commit 3ed2ab2451
1 changed files with 14 additions and 14 deletions

View File

@ -463,6 +463,20 @@ int spdylay_session_send(spdylay_session *session);
*/
int spdylay_session_recv(spdylay_session *session);
/*
* Put back previously deferred DATA frame in the stream |stream_id|
* to outbound queue.
*
* This function returns 0 if it succeeds, or one of the following
* negative error codes:
*
* SPDYLAY_ERR_INVALID_ARGUMENT
* The stream does not exist or no deferred data exist.
* SPDYLAY_ERR_NOMEM
* Out of memory.
*/
int spdylay_session_resume_data(spdylay_session *session, int32_t stream_id);
/*
* Returns nonzero value if |session| want to receive data from the
* remote peer.
@ -731,20 +745,6 @@ int spdylay_select_next_protocol(unsigned char **out, unsigned char *outlen,
*/
uint16_t spdylay_npn_get_version(const unsigned char *proto, size_t protolen);
/*
* Put back previously deferred DATA frame in the stream |stream_id|
* to outbound queue.
*
* This function returns 0 if it succeeds, or one of the following
* negative error codes:
*
* SPDYLAY_ERR_INVALID_ARGUMENT
* The stream does not exist or no deferred data exist.
* SPDYLAY_ERR_NOMEM
* Out of memory.
*/
int spdylay_session_resume_data(spdylay_session *session, int32_t stream_id);
#ifdef __cplusplus
}
#endif