New API call isoburn_igopt_set_untranslated_name_len()
This commit is contained in:
@ -1109,6 +1109,35 @@ int isoburn_igopt_set_relaxed(struct isoburn_imgen_opts *o, int relax);
|
||||
int isoburn_igopt_get_relaxed(struct isoburn_imgen_opts *o, int *relax);
|
||||
|
||||
|
||||
/** Caution: This option breaks any assumptions about names that
|
||||
are supported by ECMA-119 specifications.
|
||||
Try to omit any translation which would make a file name compliant to the
|
||||
ECMA-119 rules. This includes and exceeds omit_version_numbers,
|
||||
max_37_char_filenames, no_force_dots bit0, allow_full_ascii. Further it
|
||||
prevents the conversion from local character set to ASCII.
|
||||
The maximum name length is given by this call. If a filename exceeds
|
||||
this length or cannot be recorded untranslated for other reasons, then
|
||||
image production gets aborted.
|
||||
Currently the length limit is 96 characters, because an ECMA-119 directory
|
||||
record may at most have 254 bytes and up to 158 other bytes must fit into
|
||||
the record. Probably 96 more bytes can be made free for the name in future.
|
||||
@since 0.6.8
|
||||
@param o The option set to work on
|
||||
@param len 0 = disable this feature and perform name translation
|
||||
according to other settings.
|
||||
>0 = Omit any translation. Eventually abort image production
|
||||
if a name is longer than the given value.
|
||||
-1 = Like >0. Allow maximum possible length.
|
||||
isoburn_igopt_get_untranslated_name_len() will tell the
|
||||
effectively resulting value.
|
||||
@return >0 success, <=0 failure
|
||||
*/
|
||||
int isoburn_igopt_set_untranslated_name_len(struct isoburn_imgen_opts *o,
|
||||
int len);
|
||||
int isoburn_igopt_get_untranslated_name_len(struct isoburn_imgen_opts *o,
|
||||
int *len);
|
||||
|
||||
|
||||
/** Whether and how files should be sorted.
|
||||
@since 0.1.0
|
||||
@param o The option set to work on
|
||||
@ -1165,7 +1194,7 @@ int isoburn_igopt_get_over_ugid(struct isoburn_imgen_opts *o,
|
||||
int *replace_uid, int *replace_gid,
|
||||
uid_t *uid, gid_t *gid);
|
||||
|
||||
/** Set the charcter set to use for representing filenames in the image.
|
||||
/** Set the charcter set to use for representing RR filenames in the image.
|
||||
@since 0.1.0
|
||||
@param o The option set to work on
|
||||
@param output_charset Set this to NULL to use the default output charset.
|
||||
|
Reference in New Issue
Block a user