1 /****************************************************************************
2 * cdrom.h: cdrom tools header
3 *****************************************************************************
4 * Copyright (C) 1998-2001 VideoLAN
5 * $Id: cdrom.h,v 1.1 2002/08/04 17:23:42 sam Exp $
7 * Author: Johan Bilien <jobi@via.ecp.fr>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22 *****************************************************************************/
24 /* where the data start on a VCD sector */
25 #define VCD_DATA_START 24
26 /* size of the availablr data on a VCD sector */
27 #define VCD_DATA_SIZE 2324
28 /* size of a VCD sector, header and tail included */
29 #define VCD_SECTOR_SIZE 2352
31 /******************************************************************************
33 ******************************************************************************/
34 int ioctl_GetTrackCount ( int, const char *psz_dev );
35 int * ioctl_GetSectors ( int, const char *psz_dev );
36 int ioctl_ReadSector ( int, int, byte_t * );