Add API routine to get last session number.

This commit is contained in:
rocky
2005-03-05 10:10:16 +00:00
parent d76eddad1b
commit 822a203ba8
23 changed files with 103 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
/* -*- c -*-
$Id: device.h,v 1.16 2005/03/01 09:33:52 rocky Exp $
$Id: device.h,v 1.17 2005/03/05 10:10:16 rocky Exp $
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
@@ -360,6 +360,15 @@ extern "C" {
/* out*/ cdio_hwinfo_t *p_hw_info );
/*!
Return the session number of the last on the CD.
@param p_cdio the CD object to be acted upon.
@param i_last_session pointer to the session number to be returned.
*/
driver_return_code_t cdio_get_last_session (CdIo_t *p_cdio, /*out*/ unsigned
int *i_last_session);
/*!
Find out if media has changed since the last call.
@param p_cdio the CD object to be acted upon.