libcdio  2.1.0
mmc_hl_cmds.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2010, 2012 Rocky Bernstein <rocky@gnu.org>
3 
4  This program is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17 
25 #ifndef CDIO_MMC_HL_CMDS_H_
26 #define CDIO_MMC_HL_CMDS_H_
27 
28 #include <cdio/mmc.h>
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif /* __cplusplus */
33 
41 
55  bool *b_erasable);
56 
67 
80  unsigned int i_timeout_ms,
81  cdio_mmc_feature_profile_t *p_disctype);
82 
96  driver_return_code_t mmc_mode_sense( CdIo_t *p_cdio, /*out*/ void *p_buf,
97  unsigned int i_size, int page);
98 
117  int i_drive_speed );
118 
119 
120 #ifdef __cplusplus
121 }
122 #endif /* __cplusplus */
123 
124 #endif /* CDIO_MMC_HL_CMDS_H_ */
125 
126 /*
127  * Local variables:
128  * c-file-style: "gnu"
129  * tab-width: 8
130  * indent-tabs-mode: nil
131  * End:
132  */
driver_return_code_t mmc_get_disc_erasable(const CdIo_t *p_cdio, bool *b_erasable)
driver_return_code_t
Definition: device.h:205
cdio_mmc_feature_profile_t
Definition: mmc_util.h:36
driver_return_code_t mmc_get_disctype(const CdIo_t *p_cdio, unsigned int i_timeout_ms, cdio_mmc_feature_profile_t *p_disctype)
driver_return_code_t mmc_set_drive_speed(const CdIo_t *p_cdio, int i_drive_speed)
struct _CdIo CdIo_t
Definition: cdio.h:47
driver_return_code_t mmc_mode_sense(CdIo_t *p_cdio, void *p_buf, unsigned int i_size, int page)
driver_return_code_t mmc_close_tray(CdIo_t *p_cdio)
Common definitions for MMC (Multimedia Commands). Applications include this for direct MMC access...
driver_return_code_t mmc_eject_media(const CdIo_t *p_cdio)