mmplaylist_supported_fmts_get()

Get the list of supported playlist formats.

Synopsis:

#include <mm/mmplaylist.h>
mmplaylist_fmt_list_t* mmplaylist_supported_fmts_get( void )

Arguments:

(None)

Library:

libmmplaylist

Description:

Get the list of playlist formats supported by the library. The data structure filled in by this function contains the number of supported playlist types and a pointer to an array of strings containing the file extensions of the supported playlist types.

The function allocates memory for the data structure and returns a pointer to it. Callers must use mmplaylist_supported_fmts_release() to release the memory when they're done with it. They must not modify or free the memory themselves; doing so will result in unpredictable behavior.

Returns:

A pointer to an mmplaylist_fmt_list_t structure on success

NULL on error (use mmplaylist_last_error_get() to get error information)