4
* $Id: wm_platform.h,v 1.1 2000/01/18 16:39:51 dfoerste Exp $
6
* This file is part of WorkMan, the civilized CD player library
7
* (c) 1991-1997 by Steven Grimm (original author)
8
* (c) by Dirk F�rsterling (current 'author' = maintainer)
9
* The maintainer can be contacted by his e-mail address:
10
* milliByte@DeathsDoor.com
12
* This library is free software; you can redistribute it and/or
13
* modify it under the terms of the GNU Library General Public
14
* License as published by the Free Software Foundation; either
15
* version 2 of the License, or (at your option) any later version.
17
* This library is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
* Library General Public License for more details.
22
* You should have received a copy of the GNU Library General Public
23
* License along with this library; if not, write to the Free
24
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
* The platform interface
28
* This is just one more step to a more modular and understandable code.
31
#include "wm_struct.h"
33
int wmcd_open( struct wm_drive *d );
34
int wmcd_reopen( struct wm_drive *d );
37
* void keep_cd_open( void );
39
int wm_scsi( struct wm_drive *d, unsigned char *cdb, int cdblen,
40
void *retbuf, int retbuflen, int getreply );
42
/****************************************
44
* The drive prototypes.
47
extern struct wm_drive generic_proto;
48
extern struct wm_drive sony_proto;
49
extern struct wm_drive toshiba_proto;
51
#endif /* WM_PLATFORM_H */