Search
lxdream.org :: lxdream/src/gdrom/gddriver.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/gddriver.h
changeset 1025:f32183d273fb
prev1023:264e2fd90be8
next1030:864417a57662
author nkeynes
date Sat Jun 13 07:03:51 2009 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix signedness warnings
file annotate diff log raw
1.1 --- a/src/gdrom/gddriver.h Mon Jun 08 04:12:21 2009 +0000
1.2 +++ b/src/gdrom/gddriver.h Sat Jun 13 07:03:51 2009 +0000
1.3 @@ -170,7 +170,7 @@
1.4 * @return PKT_ERR_OK on success, otherwise the host error code.
1.5 */
1.6 gdrom_error_t (*packet_read)( struct gdrom_disc *disc,
1.7 - unsigned char *cmd, unsigned char *buf,
1.8 + char *cmd, unsigned char *buf,
1.9 unsigned int *length );
1.10
1.11 /* Execute a generic command that does not write or return any data.
1.12 @@ -180,7 +180,7 @@
1.13 * @return PKT_ERR_OK on success, otherwise the host error code.
1.14 */
1.15 gdrom_error_t (*packet_cmd)( struct gdrom_disc *disc,
1.16 - unsigned char *cmd );
1.17 + char *cmd );
1.18
1.19 /* Return TRUE if the media has changed since the last call, otherwise
1.20 * FALSE. This method is used to implement the disc-level check_status
1.21 @@ -253,4 +253,9 @@
1.22 */
1.23 gboolean gdrom_disc_read_title( gdrom_disc_t disc );
1.24
1.25 +/**
1.26 + * Parse a TOC mode-2 result buffer into the gdrom_disc_t data structure
1.27 + */
1.28 +void mmc_parse_toc2( gdrom_disc_t disc, unsigned char *buf );
1.29 +
1.30 #endif /* !lxdream_gddriver_H */
.