1.1 --- a/src/gdrom/gdrom.h Wed May 03 12:52:38 2006 +0000
1.2 +++ b/src/gdrom/gdrom.h Sat May 20 06:24:49 2006 +0000
1.5 - * $Id: gdrom.h,v 1.4 2006-05-03 12:52:38 nkeynes Exp $
1.6 + * $Id: gdrom.h,v 1.5 2006-05-20 06:24:49 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.14 +typedef uint16_t gdrom_error_t;
1.18 uint32_t first, last, leadout;
1.21 * Retrieve the disc table of contents, and write it into the buffer in the
1.22 * format expected by the DC.
1.23 - * @return TRUE on success, FALSE on failure (eg no disc mounted)
1.24 + * @return 0 on success, error code on failure (eg no disc mounted)
1.26 -gboolean gdrom_get_toc( char *buf );
1.27 +gdrom_error_t gdrom_get_toc( char *buf );
1.30 + * Retrieve the short (6-byte) disc info, and write it into the buffer.
1.31 + * @return 0 on success, error code on failure.
1.33 +gdrom_error_t gdrom_get_info( char *buf );
1.36 * Shortcut to open and mount an image file