* UTF-8 support patch
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $Id: Makefile.am,v 1.30 2006/02/27 10:10:08 flameeyes Exp $
|
||||
# $Id: Makefile.am,v 1.31 2006/06/02 21:54:21 gmerlin Exp $
|
||||
#
|
||||
# Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
#
|
||||
@@ -50,6 +50,7 @@ libcdioinclude_HEADERS = \
|
||||
udf.h \
|
||||
udf_file.h \
|
||||
udf_time.h \
|
||||
utf8.h \
|
||||
util.h \
|
||||
version.h \
|
||||
xa.h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: iso9660.h,v 1.93 2006/05/06 16:08:06 rocky Exp $
|
||||
$Id: iso9660.h,v 1.94 2006/06/02 21:54:21 gmerlin Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2003, 2004, 2005, 2006 Rocky Bernstein <rocky@gnu.org>
|
||||
@@ -916,7 +916,7 @@ char * iso9660_get_application_id(iso9660_pvd_t *p_pvd);
|
||||
is some problem in getting this and false is returned.
|
||||
*/
|
||||
bool iso9660_ifs_get_application_id(iso9660_t *p_iso,
|
||||
/*out*/ char **p_psz_app_id);
|
||||
/*out*/ cdio_utf8_t **p_psz_app_id);
|
||||
|
||||
/*!
|
||||
Return the Joliet level recognized for p_iso.
|
||||
@@ -954,7 +954,7 @@ lsn_t iso9660_get_dir_extent(const iso9660_dir_t *p_idr);
|
||||
is some problem in getting this and false is returned.
|
||||
*/
|
||||
bool iso9660_ifs_get_preparer_id(iso9660_t *p_iso,
|
||||
/*out*/ char **p_psz_preparer_id);
|
||||
/*out*/ cdio_utf8_t **p_psz_preparer_id);
|
||||
|
||||
/*!
|
||||
Return a string containing the PVD's publisher id with trailing
|
||||
@@ -967,7 +967,7 @@ lsn_t iso9660_get_dir_extent(const iso9660_dir_t *p_idr);
|
||||
is some problem in getting this and false is returned.
|
||||
*/
|
||||
bool iso9660_ifs_get_publisher_id(iso9660_t *p_iso,
|
||||
/*out*/ char **p_psz_publisher_id);
|
||||
/*out*/ cdio_utf8_t **p_psz_publisher_id);
|
||||
|
||||
uint8_t iso9660_get_pvd_type(const iso9660_pvd_t *p_pvd);
|
||||
|
||||
@@ -993,7 +993,7 @@ lsn_t iso9660_get_dir_extent(const iso9660_dir_t *p_idr);
|
||||
is some problem in getting this and false is returned.
|
||||
*/
|
||||
bool iso9660_ifs_get_system_id(iso9660_t *p_iso,
|
||||
/*out*/ char **p_psz_system_id);
|
||||
/*out*/ cdio_utf8_t **p_psz_system_id);
|
||||
|
||||
|
||||
/*! Return the LSN of the root directory for pvd.
|
||||
@@ -1012,7 +1012,7 @@ lsn_t iso9660_get_dir_extent(const iso9660_dir_t *p_idr);
|
||||
is some problem in getting this and false is returned.
|
||||
*/
|
||||
bool iso9660_ifs_get_volume_id(iso9660_t *p_iso,
|
||||
/*out*/ char **p_psz_volume_id);
|
||||
/*out*/ cdio_utf8_t **p_psz_volume_id);
|
||||
|
||||
/*!
|
||||
Return the volumeset ID in the PVD.
|
||||
@@ -1025,7 +1025,7 @@ lsn_t iso9660_get_dir_extent(const iso9660_dir_t *p_idr);
|
||||
is some problem in getting this and false is returned.
|
||||
*/
|
||||
bool iso9660_ifs_get_volumeset_id(iso9660_t *p_iso,
|
||||
/*out*/ char **p_psz_volumeset_id);
|
||||
/*out*/ cdio_utf8_t **p_psz_volumeset_id);
|
||||
|
||||
/* pathtable */
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: types.h,v 1.35 2006/01/23 20:47:33 rocky Exp $
|
||||
$Id: types.h,v 1.36 2006/06/02 21:54:21 gmerlin Exp $
|
||||
|
||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2002, 2003, 2004, 2005, 2006
|
||||
@@ -202,7 +202,15 @@ typedef uint8_t ubyte;
|
||||
typedef struct msf_s msf_t;
|
||||
|
||||
#define msf_t_SIZEOF 3
|
||||
|
||||
|
||||
/*!
|
||||
\brief UTF-8 char definition
|
||||
|
||||
Type to denote UTF-8 strings.
|
||||
*/
|
||||
|
||||
typedef char cdio_utf8_t;
|
||||
|
||||
typedef enum {
|
||||
nope = 0,
|
||||
yep = 1,
|
||||
|
||||
Reference in New Issue
Block a user