"Fossies" - the Fresh Open Source Software Archive 
Member "xorriso-1.5.4/libisofs/iso1999.h" (30 Jan 2021, 1344 Bytes) of package /linux/misc/xorriso-1.5.4.pl02.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "iso1999.h" see the
Fossies "Dox" file reference documentation.
1 /*
2 * Copyright (c) 2007 Vreixo Formoso
3 *
4 * This file is part of the libisofs project; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License version 2
6 * or later as published by the Free Software Foundation.
7 * See COPYING file for details.
8 */
9
10 /**
11 * Structures related to ISO/IEC 9660:1999, that is version 2 of ISO-9660
12 * "See doc/devel/cookbook/ISO 9660-1999" and
13 * ISO/IEC DIS 9660:1999(E) "Information processing. Volume and file structure
14 * of CDÂ-ROM for Information Interchange"
15 * for further details.
16 */
17
18 #ifndef LIBISO_ISO1999_H
19 #define LIBISO_ISO1999_H
20
21 #include "libisofs.h"
22 #include "ecma119.h"
23
24 enum iso1999_node_type {
25 ISO1999_FILE,
26 ISO1999_DIR
27 };
28
29 struct iso1999_dir_info {
30 Iso1999Node **children;
31 size_t nchildren;
32 size_t len;
33 size_t block;
34 };
35
36 struct iso1999_node
37 {
38 char *name; /**< Name chosen output charset. */
39
40 Iso1999Node *parent;
41
42 IsoNode *node; /*< reference to the iso node */
43
44 enum iso1999_node_type type;
45 union {
46 IsoFileSrc *file;
47 struct iso1999_dir_info *dir;
48 } info;
49 };
50
51 /**
52 * Create a IsoWriter to deal with ISO 9660:1999 estructures, and add it to
53 * the given target.
54 *
55 * @return
56 * 1 on success, < 0 on error
57 */
58 int iso1999_writer_create(Ecma119Image *target);
59
60 #endif /* LIBISO_ISO1999_H */