1 /* 2 * cdda - CD Digital Audio support 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 22 /* 23 * Sun Solaris support 24 * 25 * This software fragment contains code that interfaces the 26 * application to the Solaris operating environment. The name "Sun" 27 * and "Solaris" are used here for identification purposes only. 28 * 29 * Contributing author: Darragh O'Brien <darragh.obrien@sun.com> 30 */ 31 #ifndef __RD_SOL_H__ 32 #define __RD_SOL_H__ 33 34 #ifndef lint 35 static char *_rd_sol_h_ident_ = "@(#)rd_sol.h 7.24 03/12/12"; 36 #endif 37 38 #if defined(CDDA_RD_SOL) && defined(CDDA_SUPPORTED) 39 40 #define SOL_CDDA_MAXFER (256 * 1024) /* Max CDDA data length per request */ 41 42 /* Exported function prototypes */ 43 extern word32_t sol_rinit(void); 44 extern bool_t sol_read(di_dev_t *); 45 extern void sol_rdone(bool_t); 46 extern void sol_rinfo(char *); 47 48 #else 49 50 #define sol_rinit NULL 51 #define sol_read NULL 52 #define sol_rdone NULL 53 #define sol_rinfo NULL 54 55 #endif /* CDDA_RD_SOL CDDA_SUPPORTED */ 56 57 #endif /* __RD_SOL_H__ */ 58 59