[][src]Function flac_sys::FLAC__format_vorbiscomment_entry_is_legal

pub unsafe extern "C" fn FLAC__format_vorbiscomment_entry_is_legal(
    entry: *const FLAC__byte,
    length: c_uint
) -> FLAC__bool

Check a Vorbis comment entry to see if it conforms to the Vorbis comment specification.

Vorbis comment entries must be of the form 'name=value', and 'name' and 'value' must be legal according to FLAC__format_vorbiscomment_entry_name_is_legal() and FLAC__format_vorbiscomment_entry_value_is_legal() respectively.

\param entry An entry to be checked. \param length The length of \a entry in bytes. \assert \code value != NULL \endcode \retval FLAC__bool \c false if entry name is illegal, else \c true.