summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session.h4
-rwxr-xr-xsrc/vnet/session/session_api.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index efb9e30b5cc..a08fa231d62 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -390,6 +390,10 @@ void session_send_session_evt_to_thread (u64 session_handle,
fifo_event_type_t evt_type,
u32 thread_index);
u8 *format_stream_session (u8 * s, va_list * args);
+int
+send_session_connected_callback (u32 app_index, u32 api_context,
+ stream_session_t * s, u8 is_fail);
+
void session_register_transport (u8 type, const transport_proto_vft_t * vft);
transport_proto_vft_t *session_get_transport_vft (u8 type);
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index 8266922c8c0..8c073a08070 100755
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -151,7 +151,7 @@ send_session_reset_callback (stream_session_t * s)
vl_msg_api_send_shmem (q, (u8 *) & mp);
}
-static int
+int
send_session_connected_callback (u32 app_index, u32 api_context,
stream_session_t * s, u8 is_fail)
{