Obtains a pointer to the mpd_directory object enclosed by this mpd_entity. Calling this function is only allowed of mpd_entity_get_type() has returned MPD_ENTITY_TYPE_DIRECTORY.
Definition at line 103 of file entity.c.
References mpd_entity::directory, mpd_entity::info, mpd_entity_get_directory(), MPD_ENTITY_TYPE_DIRECTORY, and mpd_entity::type.
Referenced by mpd_entity_get_directory().
assert(entity != NULL);
assert(entity->type == MPD_ENTITY_TYPE_DIRECTORY);