filename | src/gdrom/gdrom.h |
changeset | 152:d42a4c5cc709 |
prev | 149:d88dd2e9a190 |
next | 168:203a72138e16 |
author | nkeynes |
date | Tue May 23 13:11:45 2006 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | Clean up the buffer and i/o handling Implement save/load state |
file | annotate | diff | log | raw |
1.1 --- a/src/gdrom/gdrom.h Sat May 20 06:24:49 2006 +00001.2 +++ b/src/gdrom/gdrom.h Tue May 23 13:11:45 2006 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: gdrom.h,v 1.5 2006-05-20 06:24:49 nkeynes Exp $1.6 + * $Id: gdrom.h,v 1.6 2006-05-23 13:11:45 nkeynes Exp $1.7 *1.8 * This file defines the structures and functions used by the GD-Rom1.9 * disc driver. (ie, the modules that supply a CD image to be used by the1.10 @@ -77,7 +77,7 @@1.11 gchar mcn[14]; /* Media catalogue number */1.12 const gchar *filename; /* Image filename */1.13 FILE *file; /* Stream, for image files */1.14 - uint32_t (*read_sectors)( struct gdrom_disc *disc,1.15 + gdrom_error_t (*read_sectors)( struct gdrom_disc *disc,1.16 uint32_t lba, uint32_t sector_count,1.17 int mode, char *buf, uint32_t *length );1.18 void (*close)( struct gdrom_disc *disc );1.19 @@ -102,10 +102,10 @@1.20 gdrom_error_t gdrom_get_toc( char *buf );1.22 /**1.23 - * Retrieve the short (6-byte) disc info, and write it into the buffer.1.24 + * Retrieve the short (6-byte) session info, and write it into the buffer.1.25 * @return 0 on success, error code on failure.1.26 */1.27 -gdrom_error_t gdrom_get_info( char *buf );1.28 +gdrom_error_t gdrom_get_info( char *buf, int session );1.30 /**1.31 * Shortcut to open and mount an image file
.