1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-12-22 07:38:52 -05:00

Fixed compiler warning. Added missing spdylay_session_on_ping_received prototype in header

This commit is contained in:
Tatsuhiro Tsujikawa 2012-01-27 23:37:47 +09:00
parent 8f53343dc3
commit d614325024
2 changed files with 6 additions and 3 deletions

View File

@ -161,6 +161,12 @@ int spdylay_session_on_syn_reply_received(spdylay_session *session,
int spdylay_session_on_rst_stream_received(spdylay_session *session,
spdylay_frame *frame);
/*
* Called when PING is received. Received frame is |frame|.
*/
int spdylay_session_on_ping_received(spdylay_session *session,
spdylay_frame *frame);
/*
* Called when HEADERS is recieved. Received frame is |frame|.
*/

View File

@ -413,7 +413,6 @@ void test_spdylay_submit_response()
NULL
};
const char *nv[] = { NULL };
spdylay_stream *stream;
int32_t stream_id = 2;
spdylay_data_source source;
spdylay_data_provider data_prd = {
@ -442,7 +441,6 @@ void test_spdylay_session_reply_fail()
NULL
};
const char *nv[] = { NULL };
spdylay_stream *stream;
int32_t stream_id = 2;
spdylay_data_source source;
spdylay_data_provider data_prd = {
@ -553,7 +551,6 @@ void test_spdylay_session_on_ping_received()
on_ping_recv_callback
};
my_user_data user_data;
const char *nv[] = { NULL };
spdylay_frame frame;
spdylay_outbound_item *top;
uint32_t unique_id;