1.1 --- a/src/gdrom/gdrom.h Tue Oct 09 08:48:28 2007 +0000
1.2 +++ b/src/gdrom/gdrom.h Sat Oct 27 05:44:54 2007 +0000
1.5 - * $Id: gdrom.h,v 1.12 2007-10-09 08:45:00 nkeynes Exp $
1.6 + * $Id: gdrom.h,v 1.13 2007-10-27 05:44:54 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 #define dream_gdrom_H 1
1.16 #define MAX_SECTOR_SIZE 2352
1.19 * the disc structure itself.
1.21 void (*close)( struct gdrom_disc *disc );
1.22 + const gchar *name; /* Device name / Image filename */
1.28 struct gdrom_track track[99];
1.29 gchar mcn[14]; /* Media catalogue number */
1.30 - const gchar *filename; /* Image filename */
1.31 FILE *file; /* Open file stream */
1.36 * Construct a new image file using the default methods.
1.38 -gdrom_disc_t gdrom_image_new( FILE *file );
1.39 +gdrom_disc_t gdrom_image_new( const gchar *filename, FILE *f );
1.42 * Open an image file
1.43 @@ -208,6 +209,10 @@
1.45 gboolean gdrom_is_mounted( void );
1.47 +gdrom_disc_t gdrom_get_current_disc();
1.49 +GList *gdrom_get_native_devices();
1.51 uint32_t gdrom_read_sectors( uint32_t sector, uint32_t sector_count,
1.52 int mode, unsigned char *buf, uint32_t *length );