Add get_mcn, although it really only works on GNU/Linux right now.

This commit is contained in:
rocky
2003-09-25 09:38:15 +00:00
parent bc84344a3d
commit 6450be398b
26 changed files with 281 additions and 210 deletions

View File

@@ -1,5 +1,5 @@
/* -*- c -*-
$Id: cdio.h,v 1.20 2003/09/20 12:34:02 rocky Exp $
$Id: cdio.h,v 1.21 2003/09/25 09:38:15 rocky Exp $
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
@@ -130,6 +130,15 @@ extern "C" {
*/
char * cdio_get_default_device (const CdIo *obj);
/*!
Return the media catalog number MCN from the CD or NULL if there is none or
we don't have the ability to get it.
Note: string is malloc'd so caller has to free() the returned
string when done with it.
*/
char *cdio_get_mcn (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),