Added license information.

Added "play save" fields for the ioctl() parameter structure.
Added indicator if the device has been halted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5459 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-11-23 22:04:38 +00:00
parent bce1ab5efd
commit 9cbc2ce719

View File

@ -1,5 +1,6 @@
// virtualdrive_ioctl.h
/* This software is part of the OpenBeOS distribution and is covered
** by the OpenBeOS license.
*/
#ifndef VIRTUAL_DRIVE_H
#define VIRTUAL_DRIVE_H
@ -26,11 +27,16 @@ enum {
// on data device: virtual_drive_info*
};
#define VIRTUAL_DRIVE_MAGIC 'VdIn'
typedef struct virtual_drive_info {
uint32 magic;
size_t drive_info_size;
char file_name[B_PATH_NAME_LENGTH];
char device_name[B_PATH_NAME_LENGTH];
device_geometry geometry;
bool use_geometry;
bool halted; // only valid for VIRTUAL_DRIVE_GET_INFO
} virtual_drive_info;
#endif // VIRTUAL_DRIVE_H