Make GNU/Linux smarter about finding a default device -- code sort of from SDL.

Better error checking all around.
This commit is contained in:
rocky
2003-06-12 04:46:27 +00:00
parent 55d3b3196d
commit 67051b0f71
4 changed files with 225 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: cdio_private.h,v 1.9 2003/06/07 16:48:33 rocky Exp $
$Id: cdio_private.h,v 1.10 2003/06/12 04:46:27 rocky Exp $
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
@@ -272,6 +272,12 @@ extern "C" {
bool cdio_is_device_generic(const char *source_name);
/*!
Like above, but don't give a warning device doesn't exist.
*/
bool cdio_is_device_quiet_generic(const char *source_name);
#ifdef __cplusplus
}
#endif /* __cplusplus */