Reacted on some of the complaints of codespell
This commit is contained in:
parent
cbfa9afcf1
commit
188e36178b
4
README
4
README
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Released under GPL (see COPYING file for details).
|
Released under GPL (see COPYING file for details).
|
||||||
|
|
||||||
Copyright (C) 2008 - 2015 Vreixo Formoso,
|
Copyright (C) 2008 - 2016 Vreixo Formoso,
|
||||||
Mario Danic,
|
Mario Danic,
|
||||||
Vladimir Serbinenko,
|
Vladimir Serbinenko,
|
||||||
Thomas Schmitt
|
Thomas Schmitt
|
||||||
@ -14,7 +14,7 @@ libisofs is part of the libburnia project (libburnia-project.org)
|
|||||||
|
|
||||||
Download, Build and Installation
|
Download, Build and Installation
|
||||||
|
|
||||||
libisofs code is mantained in a Bazaar repository at Launchpad
|
libisofs code is maintained in a Bazaar repository at Launchpad
|
||||||
(https://launchpad.net/libisofs/). You can download it with:
|
(https://launchpad.net/libisofs/). You can download it with:
|
||||||
|
|
||||||
$ bzr branch lp:libisofs/for-libisoburn
|
$ bzr branch lp:libisofs/for-libisoburn
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 - 2015 Vreixo Formoso, Thomas Schmitt
|
* Copyright (c) 2007 - 2016 Vreixo Formoso, 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
|
||||||
@ -375,7 +375,7 @@ int gesture_iso(int argc, char **argv)
|
|||||||
|
|
||||||
result = iso_write_opts_new(&opts, 0);
|
result = iso_write_opts_new(&opts, 0);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
printf ("Cant create write opts, error %d\n", result);
|
printf ("Cannot create write opts, error %d\n", result);
|
||||||
goto ex;
|
goto ex;
|
||||||
}
|
}
|
||||||
iso_write_opts_set_iso_level(opts, level);
|
iso_write_opts_set_iso_level(opts, level);
|
||||||
@ -385,7 +385,7 @@ int gesture_iso(int argc, char **argv)
|
|||||||
|
|
||||||
result = iso_image_create_burn_source(image, opts, &burn_src);
|
result = iso_image_create_burn_source(image, opts, &burn_src);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
printf ("Cant create image, error %d\n", result);
|
printf ("Cannot create image, error %d\n", result);
|
||||||
goto ex;
|
goto ex;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -904,7 +904,7 @@ int gesture_iso_ms(int argc, char **argv)
|
|||||||
|
|
||||||
result = iso_image_create_burn_source(image, opts, &burn_src);
|
result = iso_image_create_burn_source(image, opts, &burn_src);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
printf ("Cant create image, error %d\n", result);
|
printf ("Cannot create image, error %d\n", result);
|
||||||
goto ex;
|
goto ex;
|
||||||
}
|
}
|
||||||
iso_write_opts_free(opts);
|
iso_write_opts_free(opts);
|
||||||
|
@ -189,7 +189,7 @@ With tag type 2:
|
|||||||
|
|
||||||
Keep the original MD5 context of the data blocks and clone one for obtaining
|
Keep the original MD5 context of the data blocks and clone one for obtaining
|
||||||
the MD5 bytes.
|
the MD5 bytes.
|
||||||
If the MD5s match, then compute the checksum block and all folowing ones into
|
If the MD5s match, then compute the checksum block and all following ones into
|
||||||
the kept MD5 context and go on with reading and computing for the tree checksum
|
the kept MD5 context and go on with reading and computing for the tree checksum
|
||||||
tag. This will be found at block address next_tag, verified and parsed by:
|
tag. This will be found at block address next_tag, verified and parsed by:
|
||||||
iso_util_decode_md5_tag(block, &tag_type, &pos,
|
iso_util_decode_md5_tag(block, &tag_type, &pos,
|
||||||
@ -211,7 +211,7 @@ next_tag. Go on by looking for tag type 2 and follow above prescription.
|
|||||||
|
|
||||||
Checking the Data Part of the Session
|
Checking the Data Part of the Session
|
||||||
|
|
||||||
In order to check the trustworthyness of a whole session, continue reading
|
In order to check the trustworthiness of a whole session, continue reading
|
||||||
and checksumming after the tree was verified.
|
and checksumming after the tree was verified.
|
||||||
|
|
||||||
Read and checksum the blocks. When reaching block address next_tag (from the
|
Read and checksum the blocks. When reaching block address next_tag (from the
|
||||||
|
@ -235,7 +235,7 @@ An eventually needed qualifier is stored in one or more Qualifier Records.
|
|||||||
[b] "BP 2 - Qualifier Record Head" shall be present only if QUALIFIER is set
|
[b] "BP 2 - Qualifier Record Head" shall be present only if QUALIFIER is set
|
||||||
to 1. It shall give the number of Qualifier Bytes and eventually
|
to 1. It shall give the number of Qualifier Bytes and eventually
|
||||||
indicate that the qualifier continues in a Qualifier Record which comes
|
indicate that the qualifier continues in a Qualifier Record which comes
|
||||||
imediately after this record.
|
immediately after this record.
|
||||||
0 to 127 Q_LENGTH, the qualifier is complete by this record
|
0 to 127 Q_LENGTH, the qualifier is complete by this record
|
||||||
128 to 255 Q_LENGTH+128, the qualifier is continued by next record
|
128 to 255 Q_LENGTH+128, the qualifier is continued by next record
|
||||||
So a Qualifier Record can contain at most 127 Qualifier Bytes.
|
So a Qualifier Record can contain at most 127 Qualifier Bytes.
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
Arbitrary Attribute Interchange Protocol , system adapter for getting and
|
Arbitrary Attribute Interchange Protocol , system adapter for getting and
|
||||||
setting of ACLs and xattr.
|
setting of ACLs and xattr.
|
||||||
|
|
||||||
To be included by aaip_0_2.c for FreeBSD and NetBSD
|
To be included by aaip_0_2.c for FreeBSD, NetBSD, and OpenBSD
|
||||||
|
|
||||||
Copyright (c) 2009 - 2014 Thomas Schmitt, libburnia project, GPLv2+
|
Copyright (c) 2009 - 2016 Thomas Schmitt, libburnia project, GPLv2+
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
To be included by aaip_0_2.c for Linux
|
To be included by aaip_0_2.c for Linux
|
||||||
|
|
||||||
Copyright (c) 2009 - 2011 Thomas Schmitt, libburnia project, GPLv2+
|
Copyright (c) 2009 - 2016 Thomas Schmitt, libburnia project, GPLv2+
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -443,7 +443,7 @@ ex:
|
|||||||
I.e. those with a name which does not begin
|
I.e. those with a name which does not begin
|
||||||
by "user."
|
by "user."
|
||||||
bit5= in case of symbolic link: manipulate link target
|
bit5= in case of symbolic link: manipulate link target
|
||||||
bit6= tolerate inappropriate presence or absense of
|
bit6= tolerate inappropriate presence or absence of
|
||||||
directory default ACL
|
directory default ACL
|
||||||
@return 1 success
|
@return 1 success
|
||||||
-1 error memory allocation
|
-1 error memory allocation
|
||||||
|
@ -648,7 +648,7 @@ ex:;
|
|||||||
mission bits.
|
mission bits.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
/* Analyze occurence of ACL tag types in long text form. If not disabled by
|
/* Analyze occurrence of ACL tag types in long text form. If not disabled by
|
||||||
parameter flag remove the entries of type "user::" , "group::" , "other::" ,
|
parameter flag remove the entries of type "user::" , "group::" , "other::" ,
|
||||||
or "other:" from an ACL in long text form if they match the bits in st_mode
|
or "other:" from an ACL in long text form if they match the bits in st_mode
|
||||||
as described by man 2 stat and man 5 acl.
|
as described by man 2 stat and man 5 acl.
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
test/aaip_0_2.h - Public declarations
|
test/aaip_0_2.h - Public declarations
|
||||||
|
|
||||||
Copyright (c) 2009 Thomas Schmitt, libburnia project, GPLv2+
|
Copyright (c) 2009 - 2016 Thomas Schmitt, libburnia project, GPLv2+
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ int aaip_encode_both_acl(char *a_acl_text, char *d_acl_text, mode_t st_mode,
|
|||||||
size_t *result_len, unsigned char **result, int flag);
|
size_t *result_len, unsigned char **result, int flag);
|
||||||
|
|
||||||
|
|
||||||
/* Analyze occurence of ACL tag types in long text form. If not disabled by
|
/* Analyze occurrence of ACL tag types in long text form. If not disabled by
|
||||||
parameter flag remove the entries of type "user::" , "group::" , "other::" ,
|
parameter flag remove the entries of type "user::" , "group::" , "other::" ,
|
||||||
or "other:" from an ACL in long text form if they match the bits in st_mode
|
or "other:" from an ACL in long text form if they match the bits in st_mode
|
||||||
as described by man 2 stat and man 5 acl.
|
as described by man 2 stat and man 5 acl.
|
||||||
|
@ -145,7 +145,7 @@ void ds_free_data(IsoDataSource *src)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new IsoDataSource from a local file. This is suitable for
|
* Create a new IsoDataSource from a local file. This is suitable for
|
||||||
* accessing regular .iso images, or to acces drives via its block device
|
* accessing regular .iso images, or to access drives via its block device
|
||||||
* and standard POSIX I/O calls.
|
* and standard POSIX I/O calls.
|
||||||
*
|
*
|
||||||
* @param path
|
* @param path
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* 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 - 2016 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
|
||||||
@ -193,7 +193,7 @@ size_t calc_dirent_len(Ecma119Image *t, Ecma119Node *n)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the total size of all directory entries of a single dir,
|
* Computes the total size of all directory entries of a single dir,
|
||||||
* acording to ECMA-119 6.8.1.1
|
* according to ECMA-119 6.8.1.1
|
||||||
*
|
*
|
||||||
* This also take into account the size needed for RR entries and
|
* This also take into account the size needed for RR entries and
|
||||||
* SUSP continuation areas (SUSP, 5.1).
|
* SUSP continuation areas (SUSP, 5.1).
|
||||||
@ -2338,7 +2338,7 @@ int ecma119_image_new(IsoImage *src, IsoWriteOpts *in_opts, Ecma119Image **img)
|
|||||||
if (target == NULL) {
|
if (target == NULL) {
|
||||||
return ISO_OUT_OF_MEM;
|
return ISO_OUT_OF_MEM;
|
||||||
}
|
}
|
||||||
/* This reference will be transfered to the burn_source and released by
|
/* This reference will be transferred to the burn_source and released by
|
||||||
bs_free_data.
|
bs_free_data.
|
||||||
*/
|
*/
|
||||||
target->refcount = 1;
|
target->refcount = 1;
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
#define ISO_DISC_LABEL_SIZE 129
|
#define ISO_DISC_LABEL_SIZE 129
|
||||||
|
|
||||||
|
|
||||||
/* The maximum lenght of an specs violating ECMA-119 file identifier.
|
/* The maximum length of an specs violating ECMA-119 file identifier.
|
||||||
The theoretical limit is 254 - 34 - 28 (len of SUSP CE entry) = 192
|
The theoretical limit is 254 - 34 - 28 (len of SUSP CE entry) = 192
|
||||||
Currently the practical limit is 254 - 34 - 96 (non-CE RR entries) - 28 (CE)
|
Currently the practical limit is 254 - 34 - 96 (non-CE RR entries) - 28 (CE)
|
||||||
*/
|
*/
|
||||||
@ -223,7 +223,7 @@ struct iso_write_opts {
|
|||||||
/**
|
/**
|
||||||
* Write AAIP as extension according to SUSP 1.10 rather than SUSP 1.12.
|
* Write AAIP as extension according to SUSP 1.10 rather than SUSP 1.12.
|
||||||
* I.e. without announcing it by an ER field and thus without the need
|
* I.e. without announcing it by an ER field and thus without the need
|
||||||
* to preceed the RRIP fields by an ES and to preceed the AA field by ES.
|
* to precede the RRIP fields by an ES and to precede the AA field by ES.
|
||||||
* This saves bytes and might avoid problems with readers which dislike
|
* This saves bytes and might avoid problems with readers which dislike
|
||||||
* ER fields other than the ones for RRIP.
|
* ER fields other than the ones for RRIP.
|
||||||
* On the other hand, SUSP 1.12 frowns on such unannounced extensions
|
* On the other hand, SUSP 1.12 frowns on such unannounced extensions
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Vreixo Formoso
|
* Copyright (c) 2007 Vreixo Formoso
|
||||||
* Copyright (c) 2009 - 2014 Thomas Schmitt
|
* Copyright (c) 2009 - 2016 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
|
||||||
@ -597,7 +597,7 @@ int cmp_node_name(const void *f1, const void *f2)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts a the children of each directory in the ECMA-119 tree represented
|
* Sorts a the children of each directory in the ECMA-119 tree represented
|
||||||
* by \p root, acording to the order specified in ECMA-119, section 9.3.
|
* by \p root, according to the order specified in ECMA-119, section 9.3.
|
||||||
*/
|
*/
|
||||||
static
|
static
|
||||||
void sort_tree(Ecma119Node *root)
|
void sort_tree(Ecma119Node *root)
|
||||||
@ -1270,7 +1270,7 @@ int ecma119_tree_create(Ecma119Image *img)
|
|||||||
|
|
||||||
if (img->opts->rockridge && !img->opts->allow_deep_paths) {
|
if (img->opts->rockridge && !img->opts->allow_deep_paths) {
|
||||||
|
|
||||||
/* Relocate deep directories, acording to RRIP, 4.1.5 */
|
/* Relocate deep directories, according to RRIP, 4.1.5 */
|
||||||
ret = reorder_tree(img, root, 1, 0);
|
ret = reorder_tree(img, root, 1, 0);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Vreixo Formoso
|
* Copyright (c) 2007 Vreixo Formoso
|
||||||
* Copyright (c) 2010 - 2015 Thomas Schmitt
|
* Copyright (c) 2010 - 2016 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
|
||||||
@ -290,7 +290,7 @@ int iso_tree_add_boot_node(IsoDir *parent, const char *name, IsoBoot **boot)
|
|||||||
node->size = 0;
|
node->size = 0;
|
||||||
node->content = NULL;
|
node->content = NULL;
|
||||||
|
|
||||||
/* atributes from parent */
|
/* attributes from parent */
|
||||||
node->node.mode = S_IFREG | (parent->node.mode & 0444);
|
node->node.mode = S_IFREG | (parent->node.mode & 0444);
|
||||||
node->node.uid = parent->node.uid;
|
node->node.uid = parent->node.uid;
|
||||||
node->node.gid = parent->node.gid;
|
node->node.gid = parent->node.gid;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Vreixo Formoso
|
* Copyright (c) 2007 Vreixo Formoso
|
||||||
* Copyright (c) 2009 - 2015 Thomas Schmitt
|
* Copyright (c) 2009 - 2016 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
|
||||||
@ -3598,7 +3598,7 @@ int iso_image_eval_boot_info_table(IsoImage *image, struct iso_read_opts *opts,
|
|||||||
boot_pvd_found = iso_read_lsb(boot_info_found, 4);
|
boot_pvd_found = iso_read_lsb(boot_info_found, 4);
|
||||||
image_pvd = (uint32_t) (opts->block + 16);
|
image_pvd = (uint32_t) (opts->block + 16);
|
||||||
|
|
||||||
/* Accomodate to eventually relocated superblock */
|
/* Accommodate to eventually relocated superblock */
|
||||||
if (image_pvd != boot_pvd_found &&
|
if (image_pvd != boot_pvd_found &&
|
||||||
image_pvd == 16 && boot_pvd_found < iso_image_size) {
|
image_pvd == 16 && boot_pvd_found < iso_image_size) {
|
||||||
/* Check whether there is a PVD at boot_pvd_found
|
/* Check whether there is a PVD at boot_pvd_found
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Vreixo Formoso
|
* Copyright (c) 2007 Vreixo Formoso
|
||||||
* Copyright (c) 2009 - 2015 Thomas Schmitt
|
* Copyright (c) 2009 - 2016 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
|
||||||
@ -28,7 +28,7 @@
|
|||||||
* Create a new IsoFilesystem to deal with local filesystem.
|
* Create a new IsoFilesystem to deal with local filesystem.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* 1 sucess, < 0 error
|
* 1 success, < 0 error
|
||||||
*/
|
*/
|
||||||
int iso_local_filesystem_new(IsoFilesystem **fs);
|
int iso_local_filesystem_new(IsoFilesystem **fs);
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Vreixo Formoso
|
* Copyright (c) 2007 Vreixo Formoso
|
||||||
* Copyright (c) 2009 - 2015 Thomas Schmitt
|
* Copyright (c) 2009 - 2016 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
|
||||||
@ -31,7 +31,7 @@
|
|||||||
* Global objects such as the message_queues must belogn to that
|
* Global objects such as the message_queues must belogn to that
|
||||||
* context. Thus we will have, for example, a msg queue per image,
|
* context. Thus we will have, for example, a msg queue per image,
|
||||||
* so images are completelly independent and can be managed together.
|
* so images are completelly independent and can be managed together.
|
||||||
* (Usefull, for example, in Multiple-Document-Interface GUI apps.
|
* (Useful, for example, in Multiple-Document-Interface GUI apps.
|
||||||
* [The stuff we have in init belongs really to image!]
|
* [The stuff we have in init belongs really to image!]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/* libiso_msgs (generated from libdax_msgs : Fri Feb 22 19:42:52 CET 2008)
|
/* libiso_msgs (generated from libdax_msgs : Fri Feb 22 19:42:52 CET 2008)
|
||||||
Message handling facility of libisofs.
|
Message handling facility of libisofs.
|
||||||
Copyright (C) 2006-2008 Thomas Schmitt <scdbackup@gmx.net>,
|
Copyright (C) 2006-2016 Thomas Schmitt <scdbackup@gmx.net>,
|
||||||
provided under GPL version 2 or later
|
provided under GPL version 2 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -266,8 +266,9 @@ int libiso_msgs_new(struct libiso_msgs **m, int flag);
|
|||||||
|
|
||||||
/** Destroy a message handling facility and all its eventual messages.
|
/** Destroy a message handling facility and all its eventual messages.
|
||||||
The submitted pointer gets set to NULL.
|
The submitted pointer gets set to NULL.
|
||||||
Actually only the last destroy call of all offical references to the object
|
Actually only the last destroy call of all official references to the
|
||||||
will really dispose it. All others just decrement the reference counter.
|
object will really dispose it. All others just decrement the reference
|
||||||
|
counter.
|
||||||
Call this function only with official reference pointers obtained by
|
Call this function only with official reference pointers obtained by
|
||||||
libiso_msgs_new() or libiso_msgs_refer(), and only once per such pointer.
|
libiso_msgs_new() or libiso_msgs_refer(), and only once per such pointer.
|
||||||
@param flag Bitfield for control purposes (unused yet, submit 0)
|
@param flag Bitfield for control purposes (unused yet, submit 0)
|
||||||
|
@ -167,7 +167,7 @@ typedef struct Iso_Image IsoImage;
|
|||||||
* A node in the iso tree, i.e. a file that will be written to image.
|
* A node in the iso tree, i.e. a file that will be written to image.
|
||||||
*
|
*
|
||||||
* It can represent any kind of files. When needed, you can get the type with
|
* It can represent any kind of files. When needed, you can get the type with
|
||||||
* iso_node_get_type() and cast it to the appropiate subtype. Useful macros
|
* iso_node_get_type() and cast it to the appropriate subtype. Useful macros
|
||||||
* are provided, see below.
|
* are provided, see below.
|
||||||
*
|
*
|
||||||
* @since 0.6.2
|
* @since 0.6.2
|
||||||
@ -1257,7 +1257,7 @@ char *iso_get_local_charset(int flag);
|
|||||||
* @param image
|
* @param image
|
||||||
* Location where the image pointer will be stored.
|
* Location where the image pointer will be stored.
|
||||||
* @return
|
* @return
|
||||||
* 1 sucess, < 0 error
|
* 1 success, < 0 error
|
||||||
*
|
*
|
||||||
* @since 0.6.2
|
* @since 0.6.2
|
||||||
*/
|
*/
|
||||||
@ -1376,7 +1376,7 @@ int iso_write_opts_set_iso_level(IsoWriteOpts *opts, int level);
|
|||||||
* resulting image will have long filenames (up to 255 characters), deeper
|
* resulting image will have long filenames (up to 255 characters), deeper
|
||||||
* directory structure, POSIX permissions and owner info on files and
|
* directory structure, POSIX permissions and owner info on files and
|
||||||
* directories, support for symbolic links or special files... All that
|
* directories, support for symbolic links or special files... All that
|
||||||
* attributes can be modified/setted with the appropiate function.
|
* attributes can be modified/set with the appropriate function.
|
||||||
*
|
*
|
||||||
* @param opts
|
* @param opts
|
||||||
* The option set to be manipulated.
|
* The option set to be manipulated.
|
||||||
@ -1812,7 +1812,7 @@ int iso_write_opts_set_rrip_1_10_px_ino(IsoWriteOpts *opts, int enable);
|
|||||||
/**
|
/**
|
||||||
* Write AAIP as extension according to SUSP 1.10 rather than SUSP 1.12.
|
* Write AAIP as extension according to SUSP 1.10 rather than SUSP 1.12.
|
||||||
* I.e. without announcing it by an ER field and thus without the need
|
* I.e. without announcing it by an ER field and thus without the need
|
||||||
* to preceed the RRIP fields and the AAIP field by ES fields.
|
* to precede the RRIP fields and the AAIP field by ES fields.
|
||||||
* This saves 5 to 10 bytes per file and might avoid problems with readers
|
* This saves 5 to 10 bytes per file and might avoid problems with readers
|
||||||
* which dislike ER fields other than the ones for RRIP.
|
* which dislike ER fields other than the ones for RRIP.
|
||||||
* On the other hand, SUSP 1.12 frowns on such unannounced extensions
|
* On the other hand, SUSP 1.12 frowns on such unannounced extensions
|
||||||
@ -2358,7 +2358,7 @@ int iso_write_opts_set_part_offset(IsoWriteOpts *opts,
|
|||||||
#define iso_libjte_req_micro 0
|
#define iso_libjte_req_micro 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Associate a libjte environment object to the upcomming write run.
|
* Associate a libjte environment object to the upcoming write run.
|
||||||
* libjte implements Jigdo Template Extraction as of Steve McIntyre and
|
* libjte implements Jigdo Template Extraction as of Steve McIntyre and
|
||||||
* Richard Atterer.
|
* Richard Atterer.
|
||||||
* The call will fail if no libjte support was enabled at compile time.
|
* The call will fail if no libjte support was enabled at compile time.
|
||||||
@ -4255,7 +4255,7 @@ int iso_image_get_system_area(IsoImage *img, char data[32768],
|
|||||||
* Else it will consist of lines as described in ISO_SYSAREA_REPORT_DOC above.
|
* Else it will consist of lines as described in ISO_SYSAREA_REPORT_DOC above.
|
||||||
*
|
*
|
||||||
* File paths and other long texts are reported as "(too long to show here)"
|
* File paths and other long texts are reported as "(too long to show here)"
|
||||||
* if their length plus preceeding text plus trailing 0-byte exceeds the
|
* if their length plus preceding text plus trailing 0-byte exceeds the
|
||||||
* line length limit of ISO_MAX_SYSAREA_LINE_LENGTH bytes.
|
* line length limit of ISO_MAX_SYSAREA_LINE_LENGTH bytes.
|
||||||
* Texts which may contain whitespace or unprintable characters will start
|
* Texts which may contain whitespace or unprintable characters will start
|
||||||
* at fixed positions and extend to the end of the line.
|
* at fixed positions and extend to the end of the line.
|
||||||
@ -5237,7 +5237,7 @@ int iso_dir_iter_take(IsoDirIter *iter);
|
|||||||
* The node removed will be the one returned by the previous iteration.
|
* The node removed will be the one returned by the previous iteration.
|
||||||
*
|
*
|
||||||
* It is not allowed to call this function twice without calling
|
* It is not allowed to call this function twice without calling
|
||||||
* iso_dir_iter_next inbetween.
|
* iso_dir_iter_next between the calls.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* 1 on succes, < 0 error
|
* 1 on succes, < 0 error
|
||||||
@ -5485,7 +5485,7 @@ int iso_symlink_set_dest(IsoSymlink *link, const char *dest);
|
|||||||
* or regular files, this function has no effect.
|
* or regular files, this function has no effect.
|
||||||
* @param w
|
* @param w
|
||||||
* The weight as a integer number, the greater this value is, the
|
* The weight as a integer number, the greater this value is, the
|
||||||
* closer from the begining of image the file will be written.
|
* closer from the beginning of image the file will be written.
|
||||||
* Default value at IsoNode creation is 0.
|
* Default value at IsoNode creation is 0.
|
||||||
*
|
*
|
||||||
* @since 0.6.2
|
* @since 0.6.2
|
||||||
@ -6239,7 +6239,7 @@ int iso_tree_clone(IsoNode *node,
|
|||||||
* Add the contents of a dir to a given directory of the iso tree.
|
* Add the contents of a dir to a given directory of the iso tree.
|
||||||
*
|
*
|
||||||
* There are several options to control what files are added or how they are
|
* There are several options to control what files are added or how they are
|
||||||
* managed. Take a look at iso_tree_set_* functions to see diferent options
|
* managed. Take a look at iso_tree_set_* functions to see different options
|
||||||
* for recursive directory addition.
|
* for recursive directory addition.
|
||||||
*
|
*
|
||||||
* TODO comment Builder and Filesystem related issues when exposing both
|
* TODO comment Builder and Filesystem related issues when exposing both
|
||||||
@ -6432,7 +6432,7 @@ int iso_set_msgs_severities(char *queue_severity, char *print_severity,
|
|||||||
* will discard the whole queue.
|
* will discard the whole queue.
|
||||||
*
|
*
|
||||||
* @param minimum_severity
|
* @param minimum_severity
|
||||||
* Threshhold
|
* Threshold
|
||||||
* @param error_code
|
* @param error_code
|
||||||
* Will become a unique error code as listed at the end of this header
|
* Will become a unique error code as listed at the end of this header
|
||||||
* @param imgid
|
* @param imgid
|
||||||
@ -7260,7 +7260,7 @@ mode_t iso_node_get_perms_wo_acl(const IsoNode *node);
|
|||||||
* @param names
|
* @param names
|
||||||
* Will return an array of pointers to 0-terminated names
|
* Will return an array of pointers to 0-terminated names
|
||||||
* @param value_lengths
|
* @param value_lengths
|
||||||
* Will return an arry with the lenghts of values
|
* Will return an array with the lengths of values
|
||||||
* @param values
|
* @param values
|
||||||
* Will return an array of pointers to strings of 8-bit bytes
|
* Will return an array of pointers to strings of 8-bit bytes
|
||||||
* @param flag
|
* @param flag
|
||||||
@ -7286,7 +7286,7 @@ int iso_node_get_attrs(IsoNode *node, size_t *num_attrs,
|
|||||||
* @param name
|
* @param name
|
||||||
* The xattr name that shall be looked up.
|
* The xattr name that shall be looked up.
|
||||||
* @param value_length
|
* @param value_length
|
||||||
* Will return the lenght of value
|
* Will return the length of value
|
||||||
* @param value
|
* @param value
|
||||||
* Will return a string of 8-bit bytes. free() it when no longer needed.
|
* Will return a string of 8-bit bytes. free() it when no longer needed.
|
||||||
* @param flag
|
* @param flag
|
||||||
@ -7469,7 +7469,7 @@ int iso_local_get_perms_wo_acl(char *disk_path, mode_t *st_mode, int flag);
|
|||||||
* @param names
|
* @param names
|
||||||
* Will return an array of pointers to 0-terminated names
|
* Will return an array of pointers to 0-terminated names
|
||||||
* @param value_lengths
|
* @param value_lengths
|
||||||
* Will return an arry with the lenghts of values
|
* Will return an array with the lengths of values
|
||||||
* @param values
|
* @param values
|
||||||
* Will return an array of pointers to 8-bit values
|
* Will return an array of pointers to 8-bit values
|
||||||
* @param flag
|
* @param flag
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Vreixo Formoso
|
* Copyright (c) 2007 Vreixo Formoso
|
||||||
* Copyright (c) 2009 - 2015 Thomas Schmitt
|
* Copyright (c) 2009 - 2016 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
|
||||||
@ -157,7 +157,7 @@ int iso_init_with_flag(int flag)
|
|||||||
#ifdef Libisofs_with_libjtE
|
#ifdef Libisofs_with_libjtE
|
||||||
|
|
||||||
/* Ugly compile time check for header version compatibility.
|
/* Ugly compile time check for header version compatibility.
|
||||||
If everthing matches, then it produces no C code. In case of mismatch,
|
If everything matches, then it produces no C code. In case of mismatch,
|
||||||
intentionally faulty C code will be inserted.
|
intentionally faulty C code will be inserted.
|
||||||
*/
|
*/
|
||||||
/* The indendation is an advise of man gcc to help old compilers ignoring */
|
/* The indendation is an advise of man gcc to help old compilers ignoring */
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Vreixo Formoso
|
* Copyright (c) 2007 Vreixo Formoso
|
||||||
* Copyright (c) 2009 - 2015 Thomas Schmitt
|
* Copyright (c) 2009 - 2016 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
|
||||||
@ -1114,7 +1114,7 @@ int iso_symlink_set_dest(IsoSymlink *link, const char *dest)
|
|||||||
* or regular files, this function has no effect.
|
* or regular files, this function has no effect.
|
||||||
* @param w
|
* @param w
|
||||||
* The weight as a integer number, the greater this value is, the
|
* The weight as a integer number, the greater this value is, the
|
||||||
* closer from the begining of image the file will be written.
|
* closer from the beginning of image the file will be written.
|
||||||
*/
|
*/
|
||||||
void iso_node_set_sort_weight(IsoNode *node, int w)
|
void iso_node_set_sort_weight(IsoNode *node, int w)
|
||||||
{
|
{
|
||||||
@ -1818,7 +1818,7 @@ int attr_enlarge_list(char ***names, size_t **value_lengths, char ***values,
|
|||||||
|
|
||||||
/* Merge attribute list of node and given new attribute list into
|
/* Merge attribute list of node and given new attribute list into
|
||||||
attribute list returned by m_* parameters.
|
attribute list returned by m_* parameters.
|
||||||
The m_* paramters have finally to be freed by a call with bit15 set.
|
The m_* parameters have finally to be freed by a call with bit15 set.
|
||||||
@param flag Bitfield for control purposes
|
@param flag Bitfield for control purposes
|
||||||
bit0= delete all old names which begin by "user."
|
bit0= delete all old names which begin by "user."
|
||||||
(but not if bit2 is set)
|
(but not if bit2 is set)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Vreixo Formoso
|
* Copyright (c) 2007 Vreixo Formoso
|
||||||
* Copyright (c) 2009 - 2011 Thomas Schmitt
|
* Copyright (c) 2009 - 2016 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
|
||||||
@ -487,7 +487,7 @@ int iso_node_cmp_flag(IsoNode *n1, IsoNode *n2, int flag);
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the checksum index (typically comming from IsoFileSrc.checksum_index)
|
* Set the checksum index (typically coming from IsoFileSrc.checksum_index)
|
||||||
* of a regular file node. The index is encoded as xattr "isofs.cx" with
|
* of a regular file node. The index is encoded as xattr "isofs.cx" with
|
||||||
* four bytes of value.
|
* four bytes of value.
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Vreixo Formoso
|
* Copyright (c) 2007 Vreixo Formoso
|
||||||
* Copyright (c) 2009 - 2011 Thomas Schmitt
|
* Copyright (c) 2009 - 2016 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
|
||||||
@ -41,7 +41,7 @@ void iso_stream_get_file_name(IsoStream *stream, char *name);
|
|||||||
* take an extra ref.
|
* take an extra ref.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* 1 sucess, < 0 error
|
* 1 success, < 0 error
|
||||||
* Possible errors:
|
* Possible errors:
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ -52,7 +52,7 @@ int iso_file_source_stream_new(IsoFileSource *src, IsoStream **stream);
|
|||||||
* The stream will add a ref. to the IsoFileSource.
|
* The stream will add a ref. to the IsoFileSource.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* 1 sucess, < 0 error
|
* 1 success, < 0 error
|
||||||
*/
|
*/
|
||||||
int iso_cut_out_stream_new(IsoFileSource *src, off_t offset, off_t size,
|
int iso_cut_out_stream_new(IsoFileSource *src, off_t offset, off_t size,
|
||||||
IsoStream **stream);
|
IsoStream **stream);
|
||||||
|
@ -29,13 +29,13 @@ struct Iso_Image_Writer
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the function all Writers shoudl call to write data to image.
|
* This is the function all Writers should call to write data to image.
|
||||||
* Currently, it is just a wrapper for write(2) Unix system call.
|
* Currently, it is just a wrapper for write(2) Unix system call.
|
||||||
*
|
*
|
||||||
* It is implemented in ecma119.c
|
* It is implemented in ecma119.c
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* 1 on sucess, < 0 error
|
* 1 on success, < 0 error
|
||||||
*/
|
*/
|
||||||
int iso_write(Ecma119Image *target, void *buf, size_t count);
|
int iso_write(Ecma119Image *target, void *buf, size_t count);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user