Structured patterns for options -ls and -ls_l
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
#ifndef Xorrisoburn_includeD
|
||||
#define Xorrisoburn_includeD yes
|
||||
|
||||
#define Xorriso_lsi_structured_patterN 1
|
||||
|
||||
struct XorrisO;
|
||||
struct burn_drive;
|
||||
|
||||
@@ -55,9 +57,21 @@ int Xorriso_format_media(struct XorrisO *xorriso, int flag);
|
||||
*/
|
||||
int Xorriso_rmi(struct XorrisO *xorriso, char *path, int flag);
|
||||
|
||||
|
||||
#ifdef Xorriso_lsi_structured_patterN
|
||||
|
||||
/* @param flag bit0= long format */
|
||||
int Xorriso_ls_filev(struct XorrisO *xorriso, int filec, char **filev,
|
||||
int flag);
|
||||
|
||||
#else /* Xorriso_lsi_structured_patterN */
|
||||
|
||||
/* @param flag bit0= long format , bit1= only check for directory existence */
|
||||
int Xorriso_ls(struct XorrisO *xorriso, int flag);
|
||||
|
||||
#endif /* ! Xorriso_lsi_structured_patterN */
|
||||
|
||||
|
||||
/* @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)
|
||||
@@ -76,5 +90,8 @@ int Xorriso_rename(struct XorrisO *xorriso, char *origin, char *dest,int flag);
|
||||
*/
|
||||
int Xorriso_mkdir(struct XorrisO *xorriso, char *img_path, int flag);
|
||||
|
||||
int Xorriso_expand_pattern(struct XorrisO *xorriso, char *pattern,
|
||||
int *filec, char ***filev, int flag);
|
||||
|
||||
#endif /* Xorrisoburn_includeD */
|
||||
|
||||
|
Reference in New Issue
Block a user