man NJB_Delete_Playlist (Fonctions bibliothèques) - Delete a playlist from the NJB

NAME

NJB_Delete_Playlist - Delete a playlist from the NJB

LIBRARY

libnjb

SYNOPSIS

#include <sys/types.h> #include <libnjb.h>

extern int njb_error

int NJB_Delete_Playlist (njb_t *njb, u_int32_t plid)

DESCRIPTION

This function deletes the playlist identified by the ID plid from the NJB. The IDs of existing playlists are obtained via the NJB_Get_Playlists(3) function.

RETURN VALUES

Returns 0 on success. If a failure occurs, -1 is returned an njb_error is set.

EO_BADSTATUS
Non-zero status returned by the NJB (the playlist ID may be invalid).
EO_USBCTL
An I/O error occurred on the control data pipe.

SEE ALSO