Function gnunet_sys::GNUNET_CONTAINER_meta_data_get_thumbnail [−][src]
pub unsafe extern "C" fn GNUNET_CONTAINER_meta_data_get_thumbnail(
md: *const GNUNET_CONTAINER_MetaData,
thumb: *mut *mut c_uchar
) -> usize
@ingroup metadata Get a thumbnail from the meta-data (if present). Only matches meta data with mime type “image” and binary format.
@param md metadata to inspect @param thumb will be set to the thumbnail data. Must be freed by the caller! @return number of bytes in thumbnail, 0 if not available