1.1 --- a/src/gdrom/gdrom.h Sat May 20 06:24:49 2006 +0000
1.2 +++ b/src/gdrom/gdrom.h Thu Jun 15 10:33:08 2006 +0000
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.8 * This file defines the structures and functions used by the GD-Rom
1.9 * disc driver. (ie, the modules that supply a CD image to be used by the
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.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.27 -gdrom_error_t gdrom_get_info( char *buf );
1.28 +gdrom_error_t gdrom_get_info( char *buf, int session );
1.31 * Shortcut to open and mount an image file