wmmisc: Bump to version 1.2.
[dockapps.git] / ascd / libworkman / include / wm_platform.h
bloba7c58af2fcc7d16f38194bf4555d30dce970e7cb
1 #ifndef WM_PLATFORM_H
2 #define WM_PLATFORM_H
3 /*
4 * $Id: wm_platform.h,v 1.3 1999/02/14 09:50:47 dirk 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 */