Get list of CD-ROM drives



I am attempting to get a list of all CD-ROM drives on a system from a C
application. I was advised in IRC to use libgdu. Attempting to do this,
I used

#include <gnome-disk-utility/gdu/gdu.h>

and get an error message that it is an unstable API. When the #define
line is added which it mentions, it then has a fatal error that
gdu/gdu-types.h cannot be found.

Am I #include-ing the wrong thing? Should I not be using libgdu for this
at all?

Thanks.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]