libcdio
0.83
|
00001 /* 00002 Copyright (C) 2010 Rocky Bernstein <rocky@gnu.org> 00003 00004 This program is free software: you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation, either version 3 of the License, or 00007 (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00025 #ifndef __CDIO_MMC_HL_CMDS_H__ 00026 #define __CDIO_MMC_HL_CMDS_H__ 00027 00028 #include <cdio/mmc.h> 00029 00030 #ifdef __cplusplus 00031 extern "C" { 00032 #endif /* __cplusplus */ 00033 00040 driver_return_code_t mmc_close_tray( CdIo_t *p_cdio ); 00041 00054 driver_return_code_t mmc_get_disc_erasable(const CdIo_t *p_cdio, 00055 bool *b_erasable); 00056 00066 driver_return_code_t mmc_eject_media( const CdIo_t *p_cdio ); 00067 00079 driver_return_code_t mmc_get_disctype(const CdIo_t *p_cdio, 00080 unsigned int i_timeout_ms, 00081 cdio_mmc_feature_profile_t *p_disctype); 00082 00096 driver_return_code_t mmc_mode_sense( CdIo_t *p_cdio, /*out*/ void *p_buf, 00097 unsigned int i_size, int page); 00098 00116 driver_return_code_t mmc_set_drive_speed( const CdIo_t *p_cdio, 00117 int i_drive_speed ); 00118 00119 00120 #ifdef __cplusplus 00121 } 00122 #endif /* __cplusplus */ 00123 00124 #endif /* __CDIO_MMC_HL_CMDS_H__ */ 00125 00126 /* 00127 * Local variables: 00128 * c-file-style: "gnu" 00129 * tab-width: 8 00130 * indent-tabs-mode: nil 00131 * End: 00132 */