#include "transport.h"
Functions | |
| janus_transport_session * | janus_transport_session_create (void *transport_p, void(*p_free)(void *)) |
| Helper to create a janus_transport_session instance. | |
| void | janus_transport_session_destroy (janus_transport_session *session) |
| Helper to mark a janus_transport_session instance as destroyed. | |
| janus_transport_session * janus_transport_session_create | ( | void * | transport_p, |
| void(* | p_free )(void *) ) |
Helper to create a janus_transport_session instance.
| transport_p | Pointer to the transport-side session instance (won't be touched by the core) |
| p_free | Pointer to the transport-provided function, if needed, that will be used to free the opaque transport-side session instance (won't be touched by the core) |
| void janus_transport_session_destroy | ( | janus_transport_session * | session | ) |
Helper to mark a janus_transport_session instance as destroyed.
| session | Pointer to the janus_transport_session instance |