1 /*
2  *   libdi - scsipt SCSI Device Interface Library
3  *
4  *   Copyright (C) 1993-2004  Ti Kan
5  *   E-mail: xmcd@amb.org
6  *
7  *   This program is free software; you can redistribute it and/or modify
8  *   it under the terms of the GNU General Public License as published by
9  *   the Free Software Foundation; either version 2 of the License, or
10  *   (at your option) any later version.
11  *
12  *   This program is distributed in the hope that it will be useful,
13  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *   GNU General Public License for more details.
16  *
17  *   You should have received a copy of the GNU General Public License
18  *   along with this program; if not, write to the Free Software
19  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20  */
21 #ifndef __OS_DEMO_H__
22 #define __OS_DEMO_H__
23 
24 #if (defined(DI_SCSIPT) || defined(CDDA_RD_SCSIPT)) && defined(DEMO_ONLY)
25 
26 #ifndef lint
27 static char *_os_demo_h_ident_ = "@(#)os_demo.h	6.29 04/01/14";
28 #endif
29 
30 
31 #include "libdi_d/cdsim.h"	/* CD-ROM simulator header file */
32 
33 
34 /* Public function prototypes */
35 extern bool_t	pthru_send(di_dev_t *, int, byte_t *, size_t, byte_t *, size_t,
36 			   byte_t *, size_t, byte_t, int, bool_t);
37 extern di_dev_t	*pthru_open(char *);
38 extern void	pthru_close(di_dev_t *);
39 extern void	pthru_enable(di_dev_t *, int);
40 extern void	pthru_disable(di_dev_t *, int);
41 extern bool_t	pthru_is_enabled(di_dev_t *, int);
42 extern size_t	pthru_maxfer(di_dev_t *);
43 extern char	*pthru_vers(void);
44 
45 #endif	/* DI_SCSIPT CDDA_RD_SCSIPT DEMO_ONLY */
46 
47 #endif	/* __OS_DEMO_H__ */
48 
49