1 /****************************************************************************
2 * cdrom.h: cdrom tools header
3 *****************************************************************************
4 * Copyright (C) 1998-2001 VideoLAN
5 * $Id: cdrom.h,v 1.2 2003/11/26 03:34:22 rocky Exp $
7 * Authors: Johan Bilien <jobi@via.ecp.fr>
8 * Gildas Bazin <gbazin@netcourrier.com>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
23 *****************************************************************************/
28 #include <cdio/cdio.h>
29 #include <cdio/logging.h>
31 /*****************************************************************************
33 *****************************************************************************/
34 typedef struct cddev_s
36 int *p_sectors; /* tracks layout on the vcd */
37 CdIo *cdio; /* libcdio uses this to read */
41 /*****************************************************************************
43 *****************************************************************************/
44 cddev_t *ioctl_Open ( vlc_object_t *, const char * );
45 void ioctl_Close ( cddev_t * );
46 track_t ioctl_GetTracksMap ( vlc_object_t *, const CdIo *, lsn_t ** );
47 int ioctl_ReadSector ( vlc_object_t *, const cddev_t *,
49 #endif /*VCDX_CDROM_H*/