libcdio-paranoia 10.2+2.0.2
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
28extern int ioctl_ping_cdrom(int fd);
29
30extern char *atapi_drive_info(int fd);
31
39extern int FixupTOC(cdrom_drive_t *d, track_t tracks);
40
41#endif /*_CDDA_COMMON_INTERFACE_H_*/
int FixupTOC(cdrom_drive_t *d, track_t tracks)
Definition: common_interface.c:198
char * atapi_drive_info(int fd)
int ioctl_ping_cdrom(int fd)
Structure for cdparanoia's CD-ROM access.
Definition: cdda.h:80