xorriso  1.5.4.pl02
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.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

joliet.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2007 Vreixo Formoso
3  * Copyright (c) 2007 Mario Danic
4  *
5  * This file is part of the libisofs project; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License version 2
7  * or later as published by the Free Software Foundation.
8  * See COPYING file for details.
9  */
10 
11 /**
12  * Declare Joliet related structures.
13  */
14 
15 #ifndef LIBISO_JOLIET_H
16 #define LIBISO_JOLIET_H
17 
18 #include "libisofs.h"
19 #include "ecma119.h"
20 
21 /* was formerly 66 = 64 + 2. Now 105 = 103 + 2.
22 */
23 #define LIBISO_JOLIET_NAME_MAX 105
24 
28 };
29 
32  size_t nchildren;
33  size_t len;
34  size_t block;
35 };
36 
38 {
39  uint16_t *name; /**< Name in UCS-2BE. */
40 
42 
43  IsoNode *node; /*< reference to the iso node */
44 
46  union {
49  } info;
50 };
51 
52 /**
53  * Create a IsoWriter to deal with Joliet estructures, and add it to the given
54  * target.
55  *
56  * @return
57  * 1 on success, < 0 on error
58  */
60 
61 
62 /* Not to be called but only for comparison with target->writers[i]
63 */
65 
66 /**
67  * Determine the Joliet name from node name.
68  * @param flag bit0= Do not issue error messages
69  */
70 int iso_get_joliet_name(IsoWriteOpts *opts, char *input_charset, int imgid,
71  char *node_name, enum IsoNodeType node_type,
72  size_t *joliet_ucs2_failures,
73  uint16_t **name, int flag);
74 
75 #endif /* LIBISO_JOLIET_H */
int joliet_writer_create(Ecma119Image *target)
Definition: joliet.c:1267
joliet_node_type
Definition: joliet.h:25
@ JOLIET_FILE
Definition: joliet.h:26
@ JOLIET_DIR
Definition: joliet.h:27
int iso_get_joliet_name(IsoWriteOpts *opts, char *input_charset, int imgid, char *node_name, enum IsoNodeType node_type, size_t *joliet_ucs2_failures, uint16_t **name, int flag)
Definition: joliet.c:33
int joliet_writer_write_vol_desc(IsoImageWriter *writer)
Definition: joliet.c:926
IsoNodeType
Definition: libisofs.h:228
Definition: node.h:100
size_t len
Definition: joliet.h:33
size_t nchildren
Definition: joliet.h:32
JolietNode ** children
Definition: joliet.h:31
size_t block
Definition: joliet.h:34
JolietNode * parent
Definition: joliet.h:41
struct joliet_dir_info * dir
Definition: joliet.h:48
uint16_t * name
Definition: joliet.h:39
IsoNode * node
Definition: joliet.h:43
enum joliet_node_type type
Definition: joliet.h:45
IsoFileSrc * file
Definition: joliet.h:47
union joliet_node::@5 info