comparison libmpdvdkit2/dvd_udf.h @ 7029:9db58ffbd73c

importing libdvdread 0.9.3 files
author arpi
date Fri, 16 Aug 2002 22:37:48 +0000
parents
children 483e955893b8
comparison
equal deleted inserted replaced
7028:9d4273713562 7029:9db58ffbd73c
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>.
10 *
11 * dvdudf: parse and read the UDF volume information of a DVD Video
12 * Copyright (C) 1999 Christian Wolff for convergence integrated media
13 * GmbH The author can be reached at scarabaeus@convergence.de, the
14 * project's page is at http://linuxtv.org/dvd/
15 *
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2 of the License, or (at
19 * your option) any later version.
20 *
21 * This program is distributed in the hope that it will be useful, but
22 * WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24 * General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with this program; if not, write to the Free Software
28 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
29 * 02111-1307, USA. Or, point your browser to
30 * http://www.gnu.org/copyleft/gpl.html
31 */
32
33 #include <inttypes.h>
34
35 #include "dvd_reader.h"
36
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40
41 /**
42 * Looks for a file on the UDF disc/imagefile and returns the block number
43 * where it begins, or 0 if it is not found. The filename should be an
44 * absolute pathname on the UDF filesystem, starting with '/'. For example,
45 * '/VIDEO_TS/VTS_01_1.IFO'. On success, filesize will be set to the size of
46 * the file in bytes.
47 */
48 uint32_t UDFFindFile( dvd_reader_t *device, char *filename, uint32_t *size );
49
50 #ifdef __cplusplus
51 };
52 #endif
53 #endif /* DVD_UDF_H_INCLUDED */