libcdio-paranoia  10.2+0.94+2git
common_interface.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2004, 2005, 2008, 2009, 2010, 2011
3  Rocky Bernstein <rocky@gnu.org>
4  Copyright (C) 1998 Monty xiphmont@mit.edu
5 */
6 
7 #ifndef _CDDA_COMMON_INTERFACE_H_
8 #define _CDDA_COMMON_INTERFACE_H_
9 
10 #if defined(HAVE_CONFIG_H) && !defined(__CDIO_CONFIG_H__)
11 # include "config.h"
12 # define __CDIO_CONFIG_H__ 1
13 #endif
14 
15 #include <cdio/types.h>
16 #include "low_interface.h"
17 
18 #if defined(HAVE_LSTAT) && !defined(HAVE_WIN32_CDROM) && !defined(HAVE_OS2_CDROM)
19 /* Define this if the CD-ROM device is a file in the filesystem
20  that can be lstat'd
21 */
22 #define DEVICE_IN_FILESYSTEM 1
23 #else
24 #undef DEVICE_IN_FILESYSTEM
25 #endif
26 
28 extern int ioctl_ping_cdrom(int fd);
29 
30 extern char *atapi_drive_info(int fd);
31 
39 extern int FixupTOC(cdrom_drive_t *d, track_t tracks);
40 
41 #endif /*_CDDA_COMMON_INTERFACE_H_*/
Structure for cdparanoia&#39;s CD-ROM access.
Definition: cdda.h:80
int ioctl_ping_cdrom(int fd)
int FixupTOC(cdrom_drive_t *d, track_t tracks)
Definition: common_interface.c:197
char * atapi_drive_info(int fd)