Regularize MMC commands more. Add ALLOW_PREVENT_MEDIUM.

Start CDTEXT. _cdio_linux.c: better at reporting errors.
This commit is contained in:
rocky
2004-07-08 01:27:57 +00:00
parent 38a5241b83
commit 65fd7d3b43
9 changed files with 268 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: cdio_private.h,v 1.24 2004/06/26 00:39:01 rocky Exp $
$Id: cdio_private.h,v 1.25 2004/07/08 01:28:00 rocky Exp $
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
@@ -29,6 +29,7 @@
#endif
#include <cdio/cdio.h>
#include <cdio/cdtext.h>
#ifdef __cplusplus
extern "C" {
@@ -39,6 +40,12 @@ extern "C" {
typedef struct {
/*!
Return an allocated structure containing CDTEXT information found.
NULL is returned if there was a problem.
*/
CDText_data_t * (*cdtext_query) (void *env);
/*!
Eject media in CD drive. If successful, as a side effect we
also free obj. Return 0 if success and 1 for failure.