Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

mpd_malloc struct mpd_playlist* mpd_playlist_dup ( const struct mpd_playlist playlist  )  [read]

Duplicates a mpd_playlist object.

Returns:
the new object, or NULL on out of memory

Definition at line 87 of file playlist.c.

References mpd_playlist_dup(), and mpd_playlist::path.

Referenced by mpd_playlist_dup().

{
      assert(playlist != NULL);
      assert(playlist->path != NULL);

      return mpd_playlist_new(playlist->path);
}


Generated by  Doxygen 1.6.0   Back to index