"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libisofs/rockridge.h" between
xorriso-1.5.2.tar.gz and xorriso-1.5.4.tar.gz

About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.

rockridge.h  (xorriso-1.5.2):rockridge.h  (xorriso-1.5.4)
/* /*
* Copyright (c) 2007 Vreixo Formoso * Copyright (c) 2007 Vreixo Formoso
* Copyright (c) 2007 Mario Danic * Copyright (c) 2007 Mario Danic
* Copyright (c) 2009 - 2015 Thomas Schmitt * Copyright (c) 2009 - 2020 Thomas Schmitt
* *
* This file is part of the libisofs project; you can redistribute it and/or * This file is part of the libisofs project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2 * modify it under the terms of the GNU General Public License version 2
* or later as published by the Free Software Foundation. * or later as published by the Free Software Foundation.
* See COPYING file for details. * See COPYING file for details.
*/ */
/** /**
* This header defines the functions and structures needed to add RockRidge * This header defines the functions and structures needed to add RockRidge
* extensions to an ISO image. It also handles AAIP and zisofs extensions. * extensions to an ISO image. It also handles AAIP and zisofs extensions.
skipping to change at line 217 skipping to change at line 217
* *
* @param type * @param type
* 0 normal entry, 1 "." entry for that node (it is a dir), 2 ".." * 0 normal entry, 1 "." entry for that node (it is a dir), 2 ".."
* for that node (i.e., it will refer to the parent) * for that node (i.e., it will refer to the parent)
* @param space * @param space
* Available space in the System Use Area for the directory record. * Available space in the System Use Area for the directory record.
* @param info * @param info
* Pointer to the struct susp_info where the entries will be stored. * Pointer to the struct susp_info where the entries will be stored.
* If some entries need to go to a Continuation Area, they will be added * If some entries need to go to a Continuation Area, they will be added
* to the existing ce_susp_fields, and ce_len will be incremented * to the existing ce_susp_fields, and ce_len will be incremented
* propertly. Please ensure ce_block is initialized propertly. * properly. Please ensure ce_block is initialized properly.
* @return * @return
* 1 success, < 0 error * 1 success, < 0 error
*/ */
int rrip_get_susp_fields(Ecma119Image *t, Ecma119Node *n, int type, int rrip_get_susp_fields(Ecma119Image *t, Ecma119Node *n, int type,
size_t space, struct susp_info *info); size_t space, struct susp_info *info);
/** /**
* Write the given SUSP fields into buf. Note that Continuation Area * Write the given SUSP fields into buf. Note that Continuation Area
* fields are not written. * fields are not written.
* If info does not contain any SUSP entry this function just return. * If info does not contain any SUSP entry this function just return.
* After written, the info susp_fields array will be freed, and the counters * After written, the info susp_fields array will be freed, and the counters
* updated propertly. * updated properly.
*/ */
void rrip_write_susp_fields(Ecma119Image *t, struct susp_info *info, void rrip_write_susp_fields(Ecma119Image *t, struct susp_info *info,
uint8_t *buf); uint8_t *buf);
/** /**
* Write the Continuation Area entries for the given struct susp_info, using * Write the Continuation Area entries for the given struct susp_info, using
* the iso_write() function. * the iso_write() function.
* After written, the ce_susp_fields array will be freed. * After written, the ce_susp_fields array will be freed.
*/ */
int rrip_write_ce_fields(Ecma119Image *t, struct susp_info *info); int rrip_write_ce_fields(Ecma119Image *t, struct susp_info *info);
skipping to change at line 355 skipping to change at line 355
size_t *prev_field, int *is_done, int flag); size_t *prev_field, int *is_done, int flag);
/** /**
* Reads the zisofs parameters from a ZF field (see doc/zisofs_format.txt). * Reads the zisofs parameters from a ZF field (see doc/zisofs_format.txt).
* *
* @return * @return
* 1 on success, < 0 on error * 1 on success, < 0 on error
*/ */
int read_zisofs_ZF(struct susp_sys_user_entry *zf, uint8_t algorithm[2], int read_zisofs_ZF(struct susp_sys_user_entry *zf, uint8_t algorithm[2],
uint8_t *header_size_div4, uint8_t *block_size_log2, uint8_t *header_size_div4, uint8_t *block_size_log2,
uint32_t *uncompressed_size, int flag); uint64_t *uncompressed_size, int flag);
/** /**
* Convert a RR filename to the requested charset. * Convert a RR filename to the requested charset.
* @param flag bit0= do not issue error messages * @param flag bit0= do not issue error messages
*/ */
int iso_get_rr_name(IsoWriteOpts *opts, char *input_charset, int iso_get_rr_name(IsoWriteOpts *opts, char *input_charset,
char *output_charset, int imgid, char *output_charset, int imgid,
char *str, char **name, int flag); char *str, char **name, int flag);
#endif /* LIBISO_ROCKRIDGE_H */ #endif /* LIBISO_ROCKRIDGE_H */
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)