2009-03-28 08:57:34 +00:00
|
|
|
#ifndef _CDUTILS_H_
|
|
|
|
#define _CDUTILS_H_
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdio.h>
|
2009-02-24 15:06:52 +00:00
|
|
|
|
2009-03-28 08:57:34 +00:00
|
|
|
// Returns a pointer to an array of strings with the device names
|
2009-02-24 15:06:52 +00:00
|
|
|
char **cdio_get_devices();
|
|
|
|
|
2009-03-28 08:57:34 +00:00
|
|
|
// Free device list returned by cdio_get_devices or
|
|
|
|
// cdio_get_devices_with_cap.
|
2009-02-24 15:06:52 +00:00
|
|
|
void cdio_free_device_list(char * ppsz_device_list[]);
|
|
|
|
|
2009-03-28 08:57:34 +00:00
|
|
|
// Returns true if device is cdrom/dvd
|
2009-02-24 15:06:52 +00:00
|
|
|
bool cdio_is_cdrom(const char *device);
|
|
|
|
|
2009-03-28 08:57:34 +00:00
|
|
|
#endif // _CDUTILS_H_
|