]> git.sesse.net Git - vlc/blob - modules/access/vcd/cdrom.h
* ./include/modules_inner.h: support for several modules with the same
[vlc] / modules / access / vcd / cdrom.h
1 /****************************************************************************
2  * cdrom.h: cdrom tools header
3  *****************************************************************************
4  * Copyright (C) 1998-2001 VideoLAN
5  * $Id: cdrom.h,v 1.2 2002/08/08 22:28:22 sam Exp $
6  *
7  * Author: Johan Bilien <jobi@via.ecp.fr>
8  *
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.
13  * 
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.
18  *
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  *****************************************************************************/
23
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
30
31 /******************************************************************************
32 * Prototypes                                                                  *
33 ******************************************************************************/
34 int   ioctl_GetTrackCount ( vlc_object_t *, int, const char *psz_dev );
35 int * ioctl_GetSectors    ( vlc_object_t *, int, const char *psz_dev );
36 int   ioctl_ReadSector    ( vlc_object_t *, int, int, byte_t * );
37