A listing is really the same as a search for 'everything'.

See docs for search() at http://docs.moodle.org/dev/Repository_plugins