mmplaylist_last_error_get()

Get information about the last error

Synopsis:

#include <mm/mmplaylist.h>
void mmplaylist_last_error_get(mmplaylist_t *pl,
                               mmplaylist_error_info_t *error_info)

Arguments:

pl
A valid session handle.
error_info
A pointer to a structure for storing the error information. The caller must allocate the memory before calling this function.

Library:

libmmplaylist

Description:

This function gets information about the last error that occurred for the specified session. The library fills in the mmplaylist_error_info_t structure referred to by error_info.

Note that reading the value of the last error clears it as well.