Implement get_name in FileSource, and add a little test program.
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user