Function rusteron_media_driver::bindings::aeron_driver_init

source ยท
pub unsafe extern "C" fn aeron_driver_init(
    driver: *mut *mut aeron_driver_t,
    context: *mut aeron_driver_context_t,
) -> c_int
Expand description

Create a aeron_driver_t struct and initialize from the aeron_driver_context_t struct.

The given aeron_driver_context_t struct will be used exclusively by the driver. Do not reuse between drivers.

@param driver to create and initialize. @param context to use for initialization. @return 0 for success and -1 for error.