1 /* @(#)ifo_read.h 1.3 18/09/17 joerg */ 2 3 #ifndef _IFO_READ_H 4 #define _IFO_READ_H 5 6 /* 7 * Copyright (C) 2000, 2001, 2002 Bj�rn Englund <d4bjorn@dtek.chalmers.se>, 8 * H�kan Hjort <d95hjort@dtek.chalmers.se 9 * Olaf Beck <olaf_sc@yahoo.com> 10 * (I only did the cut down no other contribs) 11 * 12 * Copyright (C) 2000, 2001, 2002-2015 J�rg Schilling <joerg@schily.net> 13 * 14 * This program is free software; you can redistribute it and/or modify 15 * it under the terms of the GNU General Public License as published by 16 * the Free Software Foundation; either version 2 of the License, or (at 17 * your option) any later version. 18 * 19 * This program is distributed in the hope that it will be useful, but 20 * WITHOUT ANY WARRANTY; without even the implied warranty of 21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 * General Public License for more details. 23 * 24 * You should have received a copy of the GNU General Public License 25 * along with this program; if not, write to the Free Software 26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 */ 28 29 /* 30 * NOTE: This is a cut down version of libdvdread for mkisofs, due 31 * to portability issues with the current libdvdread according to 32 * the maintainer of mkisofs. 33 * This cut down version only reads from a harddisk file structure 34 * and it only implements the functions necessary inorder to make 35 * mkisofs produce valid DVD-Video images. 36 * DON'T USE THIS LIBRARY IN ANY OTHER PROGRAM GET THE REAL 37 * LIBDVDREAD INSTEAD 38 */ 39 40 41 42 #include "ifo_types.h" 43 #include "dvd_reader.h" 44 45 #ifdef __cplusplus 46 extern "C" { 47 #endif 48 49 50 /* 51 * handle = ifoOpen(dvd, title); 52 * 53 * Opens an IFO and reads a tiny fraction of the data for the IFO file 54 * corresponding to the given title set. If title 0 is given, the video 55 * manager IFO file is read. 56 * Returns a handle to a tiny parsed fraction of a IFO strcuture 57 */ 58 extern ifo_handle_t *ifoOpen __PR((dvd_reader_t *, int)); 59 60 61 /* 62 * ifoClose(ifofile); 63 * Cleans up the IFO information. This will free all data allocated. 64 */ 65 extern void ifoClose __PR((ifo_handle_t *)); 66 67 #ifdef __cplusplus 68 }; 69 #endif 70 #endif /* _IFO_READ_H */ 71