Function gnunet_sys::GNUNET_MQ_copy_handlers[][src]

pub unsafe extern "C" fn GNUNET_MQ_copy_handlers(
    handlers: *const GNUNET_MQ_MessageHandler
) -> *mut GNUNET_MQ_MessageHandler

Copy an array of handlers.

Useful if the array has been declared in local memory and needs to be persisted for future use.

@param handlers Array of handlers to be copied. @return A newly allocated array of handlers. Needs to be freed with #GNUNET_free.