[][src]Function mmal_sys::mmal_connection_destroy

pub unsafe extern "C" fn mmal_connection_destroy(
    connection: *mut MMAL_CONNECTION_T
) -> Type

Destroy a connection. Release an acquired reference on a connection. Only actually destroys the connection when the last reference is being released. The actual destruction of the connection will start by disabling it, if necessary. Any pool, queue, and so on owned by the connection shall then be destroyed.

@param connection The connection to be destroyed. @return MMAL_SUCCESS on success.