diff options
author | Dave Barach <dbarach@cisco.com> | 2017-05-15 10:11:39 -0400 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-05-15 17:23:27 +0000 |
commit | 0194f1aeefaf9917e0303ca36969a22f320d4444 (patch) | |
tree | 7ddcd52f868bf8f4bcacee0b3d0a5fc23521dedb /src/vnet/session | |
parent | 2fb40f80ff30cfacdaa6741d3520ecd2df71d986 (diff) |
Fix builtin tcp client
Change-Id: I83a1b02a73fd159f14cca04fed3993f571475a00
Signed-off-by: Dave Barach <dbarach@cisco.com>
Diffstat (limited to 'src/vnet/session')
-rw-r--r-- | src/vnet/session/session.h | 4 | ||||
-rwxr-xr-x | src/vnet/session/session_api.c | 2 |
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) { |