Made -cd useable with no image loaded

This commit is contained in:
2007-10-24 17:53:54 +00:00
parent 2032f40552
commit d4cd470497
4 changed files with 25 additions and 18 deletions

View File

@@ -57,10 +57,12 @@ int Xorriso_rmi(struct XorrisO *xorriso, char *path, int flag);
/* @param flag bit0= long format , bit1= only check for directory existence */
int Xorriso_ls(struct XorrisO *xorriso, int flag);
/* @param flag bit0= do not produce problem events (unless internal error)
/* @param eff_path returns resulting effective path.
Must provide at least SfileadrL bytes of storage.
@param flag bit0= do not produce problem events (unless faulty path format)
bit1= work purely literally, do not use libisofs
@return <0 = internal error , 0 = not found ,
1 = found simple node , 2 = found directory
@return -1 = faulty path format, 0 = not found ,
1 = found simple node , 2 = found directory
*/
int Xorriso_normalize_img_path(struct XorrisO *xorriso, char *img_path,
char eff_path[], int flag);