00001 #ifndef DVD_INPUT_H_INCLUDED 00002 #define DVD_INPUT_H_INCLUDED 00003 00004 /* 00005 * Copyright (C) 2001, 2002 Samuel Hocevar <sam@zoy.org>, 00006 * Håkan Hjort <d95hjort@dtek.chalmers.se> 00007 * 00008 * This program is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. 00021 */ 00022 00026 #define DVDINPUT_NOFLAGS 0 00027 00028 #define DVDINPUT_READ_DECRYPT (1 << 0) 00029 00030 typedef struct dvd_input_s *dvd_input_t; 00031 00035 extern dvd_input_t (*dvdinput_open) (const char *); 00036 extern int (*dvdinput_close) (dvd_input_t); 00037 extern int (*dvdinput_seek) (dvd_input_t, int); 00038 extern int (*dvdinput_title) (dvd_input_t, int); 00039 extern int (*dvdinput_read) (dvd_input_t, void *, int, int); 00040 extern char * (*dvdinput_error) (dvd_input_t); 00041 00045 int dvdinput_setup(void); 00046 00047 #endif /* DVD_INPUT_H_INCLUDED */
1.5.5