Now it is isoburn_ropt_noaaip , isoburn_ropt_noacl and isoburn_ropt_noea

This commit is contained in:
Thomas Schmitt 2009-01-22 13:01:13 +00:00
parent ecbf829ea9
commit d03734211f
5 changed files with 24 additions and 14 deletions

View File

@ -629,6 +629,7 @@ int isoburn_ropt_new(struct isoburn_read_opts **new_o, int flag)
o->norock= 0; o->norock= 0;
o->nojoliet= 0; o->nojoliet= 0;
o->noiso1999= 1; o->noiso1999= 1;
o->noaaip= 1;
o->noacl= 1; o->noacl= 1;
o->noea= 1; o->noea= 1;
o->preferjoliet= 0; o->preferjoliet= 0;
@ -664,8 +665,9 @@ int isoburn_ropt_set_extensions(struct isoburn_read_opts *o, int ext)
o->noiso1999= !!(ext&4); o->noiso1999= !!(ext&4);
o->preferjoliet= !!(ext&8); o->preferjoliet= !!(ext&8);
o->pretend_blank= !!(ext&16); o->pretend_blank= !!(ext&16);
o->noacl= !!(ext & 32); o->noaaip= !!(ext & 32);
o->noea= !!(ext & 64); o->noacl= !!(ext & 64);
o->noea= !!(ext & 128);
return(1); return(1);
} }
@ -674,7 +676,7 @@ int isoburn_ropt_get_extensions(struct isoburn_read_opts *o, int *ext)
{ {
*ext= (!!o->norock) | ((!!o->nojoliet)<<1) | ((!!o->noiso1999)<<2) | *ext= (!!o->norock) | ((!!o->nojoliet)<<1) | ((!!o->noiso1999)<<2) |
((!!o->preferjoliet)<<3) | ((!!o->pretend_blank)<<4) | ((!!o->preferjoliet)<<3) | ((!!o->pretend_blank)<<4) |
((!!o->noacl) << 5) | ((!!o->noea) << 6); ((!!o->noaaip) << 5) | ((!!o->noacl) << 6) | ((!!o->noea) << 7);
return(1); return(1);
} }

View File

@ -252,8 +252,9 @@ struct isoburn_read_opts {
unsigned int noiso1999:1; /*< Do not read ISO 9660:1999 enhanced tree */ unsigned int noiso1999:1; /*< Do not read ISO 9660:1999 enhanced tree */
/* ts A90121 */ /* ts A90121 */
unsigned int noacl:1; /* Do not read AAIP for ACL */ unsigned int noaaip:1; /* Do not read AAIP for ACL and EA */
unsigned int noea:1; /* Do not read AAIP for POSIX EA */ unsigned int noacl:1; /* Do not read ACL from external file objects */
unsigned int noea:1; /* Do not read XFS-style EA from externals */
unsigned int preferjoliet:1; unsigned int preferjoliet:1;
/*< When both Joliet and RR extensions are present, the RR /*< When both Joliet and RR extensions are present, the RR

View File

@ -202,7 +202,7 @@ create_blank_image:;
iso_read_opts_set_no_rockridge(ropts, read_opts->norock); iso_read_opts_set_no_rockridge(ropts, read_opts->norock);
#ifdef Libisofs_with_aaiP #ifdef Libisofs_with_aaiP
iso_read_opts_set_no_aaip(ropts, read_opts->noacl && read_opts->noea); iso_read_opts_set_no_aaip(ropts, read_opts->noaaip);
#endif /* Libisofs_with_aaiP */ #endif /* Libisofs_with_aaiP */
iso_read_opts_set_no_joliet(ropts, read_opts->nojoliet); iso_read_opts_set_no_joliet(ropts, read_opts->nojoliet);

View File

@ -685,12 +685,18 @@ int isoburn_ropt_destroy(struct isoburn_read_opts **o, int flag);
tree is used. If you prefer using Joliet, set this to 1. tree is used. If you prefer using Joliet, set this to 1.
bit4= pretend_blank bit4= pretend_blank
Always create empty image.Ignore any image on input drive. Always create empty image.Ignore any image on input drive.
bit5= noacl bit5= noaaip
@since 0.3.4 @since 0.3.4
No need to read AAIP informations for ACL Do not load AAIP information from image. This information
bit6= noea eventually contains ACL or XFS-style Extended Attributes.
No need to read AAIP informations for POSIX Extended bit6= noacl
Attributes. @since 0.3.4
Do not obtain ACL from external filesystem objects (e.g.
local filesystem files).
bit7= noea
@since 0.3.4
Do not obtain XFS-style Extended Attributes from external
filesystem objects (e.g. local filesystem files).
@return 1 success, <=0 failure @return 1 success, <=0 failure
*/ */
#define isoburn_ropt_norock 1 #define isoburn_ropt_norock 1
@ -698,8 +704,9 @@ int isoburn_ropt_destroy(struct isoburn_read_opts **o, int flag);
#define isoburn_ropt_noiso1999 4 #define isoburn_ropt_noiso1999 4
#define isoburn_ropt_preferjoliet 8 #define isoburn_ropt_preferjoliet 8
#define isoburn_ropt_pretend_blank 16 #define isoburn_ropt_pretend_blank 16
#define isoburn_ropt_noacl 32 #define isoburn_ropt_noaaip 32
#define isoburn_ropt_noea 64 #define isoburn_ropt_noacl 64
#define isoburn_ropt_noea 128
int isoburn_ropt_set_extensions(struct isoburn_read_opts *o, int ext); int isoburn_ropt_set_extensions(struct isoburn_read_opts *o, int ext);
int isoburn_ropt_get_extensions(struct isoburn_read_opts *o, int *ext); int isoburn_ropt_get_extensions(struct isoburn_read_opts *o, int *ext);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2009.01.21.204513" #define Xorriso_timestamP "2009.01.22.130107"