Add routine to get tray status (open/closed) and sample program.

Seems broken at least on SuSE 10.1 if not other GNU/Linux's though.
This commit is contained in:
rocky
2006-10-11 12:38:17 +00:00
parent 932617cf75
commit c1f11393ac
9 changed files with 211 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
/* private MMC helper routines.
$Id: mmc_private.h,v 1.10 2006/04/05 02:20:07 rocky Exp $
$Id: mmc_private.h,v 1.11 2006/10/11 12:38:18 rocky Exp $
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
Copyright (C) 2004, 2005, 2006 Rocky Bernstein <rocky@cpan.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -69,6 +69,8 @@ int get_media_changed_mmc (const void *p_user_data);
char *get_mcn_mmc (const void *p_user_data);
driver_return_code_t get_tray_status (const void *p_user_data);
/*! Read just the user data part of some sort of data sector (via
mmc_read_cd).