2 * This file has been modified for the cdrkit suite.
4 * The behaviour and appearence of the program code below can differ to a major
5 * extent from the version distributed by the original author(s).
7 * For details, see Changelog file distributed with the cdrkit package. If you
8 * received this file from another source then ask the distributing person for
9 * a log of modifications.
13 /* @(#)ifo_read.h 1.2 04/03/02 joerg */
19 * Copyright (C) 2000, 2001, 2002 Björn Englund <d4bjorn@dtek.chalmers.se>,
20 * Håkan Hjort <d95hjort@dtek.chalmers.se
21 * Olaf Beck <olaf_sc@yahoo.com>
22 * (I only did the cut down no other contribs)
23 * Jörg Schilling <schilling@fokus.gmd.de>
24 * (making the code portable)
25 * This program is free software; you can redistribute it and/or modify
26 * it under the terms of the GNU General Public License as published by
27 * the Free Software Foundation; either version 2 of the License, or (at
28 * your option) any later version.
30 * This program is distributed in the hope that it will be useful, but
31 * WITHOUT ANY WARRANTY; without even the implied warranty of
32 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
33 * General Public License for more details.
35 * You should have received a copy of the GNU General Public License
36 * along with this program; if not, write to the Free Software
37 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
41 * NOTE: This is a cut down version of libdvdread for genisoimage, due
42 * to portability issues with the current libdvdread according to
43 * the maintainer of genisoimage.
44 * This cut down version only reads from a harddisk file structure
45 * and it only implements the functions necessary inorder to make
46 * genisoimage produce valid DVD-Video images.
47 * DON'T USE THIS LIBRARY IN ANY OTHER PROGRAM GET THE REAL
53 #include "ifo_types.h"
54 #include "dvd_reader.h"
62 * handle = ifoOpen(dvd, title);
64 * Opens an IFO and reads a tiny fraction of the data for the IFO file
65 * corresponding to the given title set. If title 0 is given, the video
66 * manager IFO file is read.
67 * Returns a handle to a tiny parsed fraction of a IFO strcuture
69 extern ifo_handle_t *ifoOpen(dvd_reader_t *, int);
74 * Cleans up the IFO information. This will free all data allocated.
76 extern void ifoClose(ifo_handle_t *);
81 #endif /* _IFO_READ_H */