Function gnunet_sys::GNUNET_BIO_write_meta_data[][src]

pub unsafe extern "C" fn GNUNET_BIO_write_meta_data(
    h: *mut GNUNET_BIO_WriteHandle,
    what: *const c_char,
    m: *const GNUNET_CONTAINER_MetaData
) -> c_int

Write a metadata container.

@param h the IO handle to write to @param what what is being written (for error message creation) @param m metadata to write @return #GNUNET_OK on success, #GNUNET_SYSERR on error