Struct janus_plugin::Plugin[][src]

#[repr(C)]
pub struct Plugin { pub init: unsafe extern "C" fn(*mut janus_callbacks, *const i8) -> i32, pub destroy: unsafe extern "C" fn(), pub get_api_compatibility: unsafe extern "C" fn() -> i32, pub get_version: unsafe extern "C" fn() -> i32, pub get_version_string: unsafe extern "C" fn() -> *const i8, pub get_description: unsafe extern "C" fn() -> *const i8, pub get_name: unsafe extern "C" fn() -> *const i8, pub get_author: unsafe extern "C" fn() -> *const i8, pub get_package: unsafe extern "C" fn() -> *const i8, pub create_session: unsafe extern "C" fn(*mut janus_plugin_session, *mut i32), pub handle_message: unsafe extern "C" fn(*mut janus_plugin_session, *mut i8, *mut json_t, *mut json_t) -> *mut janus_plugin_result, pub setup_media: unsafe extern "C" fn(*mut janus_plugin_session), pub incoming_rtp: unsafe extern "C" fn(*mut janus_plugin_session, i32, *mut i8, i32), pub incoming_rtcp: unsafe extern "C" fn(*mut janus_plugin_session, i32, *mut i8, i32), pub incoming_data: unsafe extern "C" fn(*mut janus_plugin_session, *mut i8, i32), pub slow_link: unsafe extern "C" fn(*mut janus_plugin_session, i32, i32), pub hangup_media: unsafe extern "C" fn(*mut janus_plugin_session), pub destroy_session: unsafe extern "C" fn(*mut janus_plugin_session, *mut i32), pub query_session: unsafe extern "C" fn(*mut janus_plugin_session) -> *mut json_t, }

Fields

Trait Implementations

impl Debug for janus_plugin
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations