New options with isoburn_ropt_set_extensions(): isoburn_ropt_map_*

This commit is contained in:
2015-08-17 20:01:30 +00:00
parent 16acbe7f1d
commit 465509d0d1
5 changed files with 31 additions and 2 deletions

View File

@ -884,6 +884,21 @@ int isoburn_ropt_get_data_cache(struct isoburn_read_opts *o,
@since 1.0.4
Do not check eventual session_md5 tags although bit9
is not set.
bit11= do_ecma119_map
@since 1.4.2
Set iso_read_opts_set_ecma119_map() to map_mode rather
than relying on the default setting of libisofs.
bit12 - bit13= map_mode
@since 1.4.2
How to convert file names if neither Rock Ridge nor
Joliet names are present and acceptable.
0 = unmapped: Take name as recorded in ECMA-119 directory
record (not suitable for writing them to
a new ISO filesystem)
1 = stripped: Like unmapped, but strip off trailing ";1"
or ".;1"
2 = uppercase: Like stripped, but map {a-z} to {A-Z}
3 = lowercase: Like stripped, but map {A-Z} to {a-z}
@return 1 success, <=0 failure
*/
#define isoburn_ropt_norock 1
@ -897,6 +912,10 @@ int isoburn_ropt_get_data_cache(struct isoburn_read_opts *o,
#define isoburn_ropt_noino 256
#define isoburn_ropt_nomd5 512
#define isoburn_ropt_nomd5tag 1024
#define isoburn_ropt_map_unmapped ( 2048 | 0 )
#define isoburn_ropt_map_stripped ( 2048 | 4096 )
#define isoburn_ropt_map_uppercase ( 2048 | 8192 )
#define isoburn_ropt_map_lowercase ( 2048 | 12288 )
int isoburn_ropt_set_extensions(struct isoburn_read_opts *o, int ext);
int isoburn_ropt_get_extensions(struct isoburn_read_opts *o, int *ext);