mmplaylist_init()

Initialize the library.

Synopsis:

#include <mm/mmplaylist.h>
int mmplaylist_init( const char *config )

Arguments:

config

The path of the configuration file to use. Set to NULL to make the library use the file specified in the MM_PLAYLIST environment variable or the default file if that variable isn't defined.

Library:

libmmplaylist

Description:

Initialize the playlist library. This function loads the character converter library, parses the libmmplaylist configuration file, and tries to load each PLP named in the configuration file.

You must call this function once, and it must be the first function you call. Calling it multiple times will result in unpredictable behavior.

Returns:

0 (mmplaylist_ok) on success

A nonzero mmplaylist_rc error code on failure