Function gnunet_sys::GNUNET_BIO_read_meta_data[][src]

pub unsafe extern "C" fn GNUNET_BIO_read_meta_data(
    h: *mut GNUNET_BIO_ReadHandle,
    what: *const c_char,
    result: *mut *mut GNUNET_CONTAINER_MetaData
) -> c_int

Read a metadata container.

@param h handle to an open file @param what describes what is being read (for error message creation) @param result the buffer to store a pointer to the (allocated) metadata @return #GNUNET_OK on success, #GNUNET_SYSERR on failure