patch-2.1.122 linux/include/linux/cdrom.h

Next file: linux/include/linux/hdreg.h
Previous file: linux/include/asm-i386/desc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.121/linux/include/linux/cdrom.h linux/include/linux/cdrom.h
@@ -415,6 +415,14 @@
 
 extern int register_cdrom(struct cdrom_device_info *cdi);
 extern int unregister_cdrom(struct cdrom_device_info *cdi);
+typedef struct {
+    int data;
+    int audio;
+    int cdi;
+    int xa;
+    long error;
+} tracktype;
+extern void cdrom_count_tracks(struct cdrom_device_info *cdi,tracktype* tracks);
 #endif  /* End of kernel only stuff */ 
 
 #endif  /* _LINUX_CDROM_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov