Mercurial > mplayer.hg
annotate dvdread/dvd_udf.h @ 24047:de28f9e8cb00
Sync libdvdread with version 0.9.5 (functional changes).
author | diego |
---|---|
date | Wed, 15 Aug 2007 11:47:22 +0000 |
parents | 22cb9d5f1e21 |
children | 1542693b2a30 |
rev | line source |
---|---|
7029 | 1 #ifndef DVD_UDF_H_INCLUDED |
2 #define DVD_UDF_H_INCLUDED | |
3 | |
4 /* | |
5 * This code is based on dvdudf by: | |
6 * Christian Wolff <scarabaeus@convergence.de>. | |
7 * | |
8 * Modifications by: | |
9 * Billy Biggs <vektor@dumbterm.net>. | |
15874 | 10 * Björn Englund <d4bjorn@dtek.chalmers.se>. |
11 * | |
7029 | 12 * dvdudf: parse and read the UDF volume information of a DVD Video |
13 * Copyright (C) 1999 Christian Wolff for convergence integrated media | |
14 * GmbH The author can be reached at scarabaeus@convergence.de, the | |
15 * project's page is at http://linuxtv.org/dvd/ | |
16 * | |
17 * This program is free software; you can redistribute it and/or modify | |
18 * it under the terms of the GNU General Public License as published by | |
19 * the Free Software Foundation; either version 2 of the License, or (at | |
20 * your option) any later version. | |
21 * | |
22 * This program is distributed in the hope that it will be useful, but | |
23 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
25 * General Public License for more details. | |
26 * | |
27 * You should have received a copy of the GNU General Public License | |
28 * along with this program; if not, write to the Free Software | |
29 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
30 * 02111-1307, USA. Or, point your browser to | |
31 * http://www.gnu.org/copyleft/gpl.html | |
32 */ | |
33 | |
24047
de28f9e8cb00
Sync libdvdread with version 0.9.5 (functional changes).
diego
parents:
20981
diff
changeset
|
34 #if defined(HAVE_INTTYPES_H) |
7029 | 35 #include <inttypes.h> |
24047
de28f9e8cb00
Sync libdvdread with version 0.9.5 (functional changes).
diego
parents:
20981
diff
changeset
|
36 #elif defined(HAVE_STDINT_H) |
de28f9e8cb00
Sync libdvdread with version 0.9.5 (functional changes).
diego
parents:
20981
diff
changeset
|
37 #include <stdint.h> |
de28f9e8cb00
Sync libdvdread with version 0.9.5 (functional changes).
diego
parents:
20981
diff
changeset
|
38 #endif |
7029 | 39 |
40 #include "dvd_reader.h" | |
41 | |
42 #ifdef __cplusplus | |
43 extern "C" { | |
44 #endif | |
45 | |
46 /** | |
47 * Looks for a file on the UDF disc/imagefile and returns the block number | |
48 * where it begins, or 0 if it is not found. The filename should be an | |
49 * absolute pathname on the UDF filesystem, starting with '/'. For example, | |
50 * '/VIDEO_TS/VTS_01_1.IFO'. On success, filesize will be set to the size of | |
51 * the file in bytes. | |
52 */ | |
53 uint32_t UDFFindFile( dvd_reader_t *device, char *filename, uint32_t *size ); | |
54 | |
24047
de28f9e8cb00
Sync libdvdread with version 0.9.5 (functional changes).
diego
parents:
20981
diff
changeset
|
55 void FreeUDFCache(dvd_reader_t *device, void *cache); |
15874 | 56 int UDFGetVolumeIdentifier(dvd_reader_t *device, |
57 char *volid, unsigned int volid_size); | |
58 int UDFGetVolumeSetIdentifier(dvd_reader_t *device, | |
59 uint8_t *volsetid, unsigned int volsetid_size); | |
7029 | 60 #ifdef __cplusplus |
61 }; | |
62 #endif | |
63 #endif /* DVD_UDF_H_INCLUDED */ |