diff options
Diffstat (limited to 'libgphoto2_port/gphoto2/gphoto2-port-library.h')
-rw-r--r-- | libgphoto2_port/gphoto2/gphoto2-port-library.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libgphoto2_port/gphoto2/gphoto2-port-library.h b/libgphoto2_port/gphoto2/gphoto2-port-library.h index 837f2bffc..ef510b705 100644 --- a/libgphoto2_port/gphoto2/gphoto2-port-library.h +++ b/libgphoto2_port/gphoto2/gphoto2-port-library.h @@ -74,6 +74,13 @@ typedef struct _GPPortOperations { /* For USB disk direct IO devices */ int (*seek) (GPPort * dev, int offset, int whence); + + /* For USB Mass Storage raw SCSI ports */ + int (*send_scsi_cmd) (GPPort *port, int to_dev, + char *cmd, int cmd_size, + char *sense, int sense_size, + char *data, int data_size); + } GPPortOperations; typedef GPPortType (* GPPortLibraryType) (void); |