Commit d6143250 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fixed compiler warning. Added missing spdylay_session_on_ping_received prototype in header

parent 8f53343d
...@@ -161,6 +161,12 @@ int spdylay_session_on_syn_reply_received(spdylay_session *session, ...@@ -161,6 +161,12 @@ int spdylay_session_on_syn_reply_received(spdylay_session *session,
int spdylay_session_on_rst_stream_received(spdylay_session *session, int spdylay_session_on_rst_stream_received(spdylay_session *session,
spdylay_frame *frame); 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|. * Called when HEADERS is recieved. Received frame is |frame|.
*/ */
......
...@@ -413,7 +413,6 @@ void test_spdylay_submit_response() ...@@ -413,7 +413,6 @@ void test_spdylay_submit_response()
NULL NULL
}; };
const char *nv[] = { NULL }; const char *nv[] = { NULL };
spdylay_stream *stream;
int32_t stream_id = 2; int32_t stream_id = 2;
spdylay_data_source source; spdylay_data_source source;
spdylay_data_provider data_prd = { spdylay_data_provider data_prd = {
...@@ -442,7 +441,6 @@ void test_spdylay_session_reply_fail() ...@@ -442,7 +441,6 @@ void test_spdylay_session_reply_fail()
NULL NULL
}; };
const char *nv[] = { NULL }; const char *nv[] = { NULL };
spdylay_stream *stream;
int32_t stream_id = 2; int32_t stream_id = 2;
spdylay_data_source source; spdylay_data_source source;
spdylay_data_provider data_prd = { spdylay_data_provider data_prd = {
...@@ -553,7 +551,6 @@ void test_spdylay_session_on_ping_received() ...@@ -553,7 +551,6 @@ void test_spdylay_session_on_ping_received()
on_ping_recv_callback on_ping_recv_callback
}; };
my_user_data user_data; my_user_data user_data;
const char *nv[] = { NULL };
spdylay_frame frame; spdylay_frame frame;
spdylay_outbound_item *top; spdylay_outbound_item *top;
uint32_t unique_id; uint32_t unique_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment