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

mpd_malloc struct mpd_directory* mpd_directory_dup ( const struct mpd_directory directory  )  [read]

Duplicates a mpd_directory object.

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

Definition at line 84 of file directory.c.

References mpd_directory_dup(), and mpd_directory::path.

Referenced by mpd_directory_dup().

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

      return mpd_directory_new(directory->path);
}


Generated by  Doxygen 1.6.0   Back to index