Function gnunet_sys::GNUNET_CONTAINER_meta_data_get_by_type[][src]

pub unsafe extern "C" fn GNUNET_CONTAINER_meta_data_get_by_type(
    md: *const GNUNET_CONTAINER_MetaData,
    type_: EXTRACTOR_MetaType
) -> *mut c_char

@ingroup metadata Get the first MD entry of the given type. Caller is responsible for freeing the return value. Also, only meta data items that are strings (0-terminated) are returned by this function.

@param md metadata to inspect @param type type to look for @return NULL if no entry was found