NJB_Delete_Playlist(3)

NJB_Delete_Playlist3

Delete a playlist from the njb

Usage

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

extern int njb_error

int NJB_Delete_Playlist (njb_t *njb, u_int32_t plid)

Library

libnjb

Overview

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.

Releases

Unchanged in 2 releases since Debian 3.1 (Sarge).

  1. 3.1–4.0

From libnjb1-doc 1.1-2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.