Fixed compiler warning. Added missing spdylay_session_on_ping_received prototype in header
This commit is contained in:
parent
8f53343dc3
commit
d614325024
|
@ -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|.
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue