1 /* --------------------------------------------------------------------------
2 
3    MusicBrainz -- The Internet music metadatabase
4 
5    Copyright (C) 2000 Robert Kaye
6    Copyright (C) 1999 Marc E E van Woerkom
7 
8    This library is free software; you can redistribute it and/or
9    modify it under the terms of the GNU Lesser General Public
10    License as published by the Free Software Foundation; either
11    version 2.1 of the License, or (at your option) any later version.
12 
13    This library is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16    Lesser General Public License for more details.
17 
18    You should have received a copy of the GNU Lesser General Public
19    License along with this library; if not, write to the Free Software
20    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21 
22      $Id: mb_win32.h,v 1.2 2000/09/22 14:15:03 robert Exp $
23 
24 ----------------------------------------------------------------------------*/
25 #if !defined(_CDI_WIN32_H_)
26 #define _CDI_WIN32_H_
27 
28 
29 #define OS "Win32"
30 
31 
32 //
33 //  Win32 CD audio declarations
34 //
35 
36 // #include MS audio stuff
37 
38 typedef char* MUSICBRAINZ_DEVICE;
39 
40 
41 
42 //
43 //  Win32 specific prototypes
44 //
45 
46 #define strcasecmp(a,b) stricmp(a,b)
47 
48 int ReadTOCHeader(int fd,
49                   int& first,
50                   int& last);
51 
52 int ReadTOCEntry(int fd,
53                  int track,
54                  int& lba);
55 
56 #endif
57