Add a function to get the path of a node in the IsoImage.

This commit is contained in:
Vreixo Formoso
2008-03-17 21:42:44 +01:00
parent 2374976b6d
commit 7b0da1ecd6
3 changed files with 37 additions and 1 deletions

View File

@@ -2955,6 +2955,16 @@ int iso_tree_add_dir_rec(IsoImage *image, IsoDir *parent, const char *dir);
*/
int iso_tree_path_to_node(IsoImage *image, const char *path, IsoNode **node);
/**
* Get the path on image of the given node.
*
* @return
* The path on the image, that must be freed when no more needed. If the
* given node is not added to any image, this returns NULL.
* @since 0.6.4
*/
char *iso_tree_get_node_path(IsoNode *node);
/**
* Increments the reference counting of the given IsoDataSource.
*