16 #ifndef SRC_VNET_SESSION_APPLICATION_H_ 17 #define SRC_VNET_SESSION_APPLICATION_H_ 28 typedef struct _stream_session_cb_vft
31 int (*add_segment_callback) (
u32 api_client_index,
const u8 * seg_name,
38 int (*session_connected_callback) (
u32 api_client_index,
49 session_fifo_event_t * ep);
55 typedef struct _application
78 u32 session_manager_index;
110 u32 add_segment_size,
u32 rx_fifo_size,
111 u32 tx_fifo_size,
u8 ** segment_name);
application_t * application_get_if_valid(u32 index)
application_t * application_lookup(u32 api_client_index)
struct _stream_session_t stream_session_t
struct _stream_session_cb_vft session_cb_vft_t
u32 application_get_index(application_t *app)
static int redirect_connect_callback(u32 server_api_client_index, void *mp_arg)
Redirect a connect_uri message to the indicated server.
struct _application application_t
int application_server_init(application_t *server, u32 segment_size, u32 add_segment_size, u32 rx_fifo_size, u32 tx_fifo_size, u8 **segment_name)
application_t * application_get(u32 index)
application_t * application_new(application_type_t type, session_type_t sst, u32 api_client_index, u32 flags, session_cb_vft_t *cb_fns)
int builtin_server_rx_callback(stream_session_t *s, session_fifo_event_t *e)
int application_api_queue_is_full(application_t *app)
void application_del(application_t *app)
struct _unix_shared_memory_queue unix_shared_memory_queue_t