"Fossies" - the Fresh Open Source Software Archive  

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

About: libisofs is a library to create an ISO 9660 filesystem, supports extensions like RockRidge or Joliet, makes bootable ISO 9660, and records file attributes which are of interest for data backups.

node.h  (libisofs-1.5.2):node.h  (libisofs-1.5.4)
/* /*
* Copyright (c) 2007 Vreixo Formoso * Copyright (c) 2007 Vreixo Formoso
* Copyright (c) 2009 - 2016 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.
*/ */
#ifndef LIBISO_NODE_H_ #ifndef LIBISO_NODE_H_
#define LIBISO_NODE_H_ #define LIBISO_NODE_H_
/* /*
skipping to change at line 284 skipping to change at line 284
* place where to store a pointer to the newly created link. * place where to store a pointer to the newly created link.
* @return * @return
* 1 on success, < 0 otherwise * 1 on success, < 0 otherwise
*/ */
int iso_node_new_symlink(char *name, char *dest, IsoSymlink **link); int iso_node_new_symlink(char *name, char *dest, IsoSymlink **link);
/** /**
* Create a new special file node. As far as libisofs concerns, * Create a new special file node. As far as libisofs concerns,
* an special file is a block device, a character device, a FIFO (named pipe) * an special file is a block device, a character device, a FIFO (named pipe)
* or a socket. You can choose the specific kind of file you want to add * or a socket. You can choose the specific kind of file you want to add
* by setting mode propertly (see man 2 stat). * by setting mode properly (see man 2 stat).
* *
* Note that special files are only written to image when Rock Ridge * Note that special files are only written to image when Rock Ridge
* extensions are enabled. Moreover, a special file is just a directory entry * extensions are enabled. Moreover, a special file is just a directory entry
* in the image tree, no data is written beyond that. * in the image tree, no data is written beyond that.
* *
* Owner and hidden atts are taken from parent. You can modify any of them * Owner and hidden atts are taken from parent. You can modify any of them
* later. * later.
* *
* @param name * @param name
* name for the new special file. It is not strdup() so you shouldn't use * name for the new special file. It is not strdup() so you shouldn't use
skipping to change at line 434 skipping to change at line 434
* from an inspection of the file content header for zisofs magic number and * from an inspection of the file content header for zisofs magic number and
* plausible parameters. * plausible parameters.
* The parameters get attached in struct zisofs_zf_info as xinfo to an IsoNode. * The parameters get attached in struct zisofs_zf_info as xinfo to an IsoNode.
*/ */
int zisofs_zf_xinfo_func(void *data, int flag); int zisofs_zf_xinfo_func(void *data, int flag);
/** /**
* Parameter structure which is to be managed by zisofs_zf_xinfo_func. * Parameter structure which is to be managed by zisofs_zf_xinfo_func.
*/ */
struct zisofs_zf_info { struct zisofs_zf_info {
uint32_t uncompressed_size; uint64_t uncompressed_size;
uint8_t header_size_div4; uint8_t header_size_div4;
uint8_t block_size_log2; uint8_t block_size_log2;
uint8_t zisofs_algo[2];
}; };
/** /**
* Checks whether a file effectively bears a zisofs file header and eventually * Checks whether a file effectively bears a zisofs file header and eventually
* marks this by a struct zisofs_zf_info as xinfo of the file node. * marks this by a struct zisofs_zf_info as xinfo of the file node.
* @param flag bit0= inquire the most original stream of the file * @param flag bit0= inquire the most original stream of the file
* bit1= permission to overwrite existing zisofs_zf_info * bit1= permission to overwrite existing zisofs_zf_info
* bit2= if no zisofs header is found: * bit2= if no zisofs header is found:
create xinfo with parameters which indicate no zisofs create xinfo with parameters which indicate no zisofs
* @return 1= zf xinfo added, 0= no zisofs data found , * @return 1= zf xinfo added, 0= no zisofs data found ,
 End of changes. 4 change blocks. 
3 lines changed or deleted 4 lines changed or added

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