From ab8f3f0db847d497b10a902522fbb852568b65de Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 24 May 2003 15:24:15 +0000 Subject: [PATCH] Add cdio_get_driver_name: routine to return driver selected. --- include/cdio/cdio.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/cdio/cdio.h b/include/cdio/cdio.h index 31d455df..89edded7 100644 --- a/include/cdio/cdio.h +++ b/include/cdio/cdio.h @@ -1,5 +1,5 @@ /* -*- c -*- - $Id: cdio.h,v 1.8 2003/05/18 01:50:51 rocky Exp $ + $Id: cdio.h,v 1.9 2003/05/24 15:24:15 rocky Exp $ Copyright (C) 2001 Herbert Valerio Riedel Copyright (C) 2003 Rocky Bernstein @@ -127,6 +127,13 @@ extern "C" { */ char * cdio_get_default_device (const CdIo *obj); + /*! + Return a string containing the name of the driver in use. + if CdIo is NULL (we haven't initialized a specific device driver), + then return NULL. + */ + const char * cdio_get_driver_name (const CdIo *obj); + /*! Return the number of the first track. CDIO_INVALID_TRACK is returned on error.