diff options
-rw-r--r-- | sys/sys/cdrio.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/sys/cdrio.h b/sys/sys/cdrio.h index bdcfead..1bec65e 100644 --- a/sys/sys/cdrio.h +++ b/sys/sys/cdrio.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2000 Søren Schmidt + * Copyright (c) 2000,2001 Søren Schmidt * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -34,7 +34,7 @@ #include <sys/ioccom.h> struct cdr_track { - int track_type; /* type of this track */ + int datablock_type; /* data type code */ #define CDR_DB_RAW 0x0 /* 2352 bytes of raw data */ #define CDR_DB_RAW_PQ 0x1 /* 2368 bytes raw data + P/Q subchan */ #define CDR_DB_RAW_PW 0x2 /* 2448 bytes raw data + P-W subchan */ @@ -57,11 +57,14 @@ struct cdr_track { }; #define CDRIOCBLANK _IOW('c', 100, int) +#define CDR_B_ALL 0x0 +#define CDR_B_MIN 0x1 +#define CDR_B_SESSION 0x6 + #define CDRIOCNEXTWRITEABLEADDR _IOR('c', 101, int) #define CDRIOCOPENDISK _IO('c', 102) -#define CDRIOCCLOSEDISK _IO('c', 103) - +#define CDRIOCCLOSEDISK _IOW('c', 103, int) #define CDRIOCOPENTRACK _IOW('c', 104, struct cdr_track) #define CDRIOCCLOSETRACK _IO('c', 105) |