Implement get_name in FileSource, and add a little test program.

This commit is contained in:
Vreixo Formoso
2007-11-26 21:16:38 +01:00
parent e034f287bf
commit 1478904aaf
6 changed files with 160 additions and 20 deletions

View File

@ -58,6 +58,14 @@ struct Iso_File_Source
* freed by the user.
*/
const char* (*get_path)(IsoFileSource *src);
/**
* Get the name of the file, with the dir component of the path.
*
* @return
* the name of the file, it should be freed when no more needed.
*/
char* (*get_name)(IsoFileSource *src);
/**
* Get information about the file.