summaryrefslogtreecommitdiff
path: root/libgphoto2_port/gphoto2/gphoto2-port-library.h
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2010-03-13 11:26:56 +0000
committerMarcus Meissner <marcus@jet.franken.de>2010-03-13 11:26:56 +0000
commit966b176c62a686572c55aba6975aebdaab1c9e77 (patch)
tree118e46850b7dd2a6ae3563d84c6a2e66f971589f /libgphoto2_port/gphoto2/gphoto2-port-library.h
parentb4a0fa7cfa4856cbd12a0a8aeb6fbd6100e4d35a (diff)
downloadlibgphoto2-966b176c62a686572c55aba6975aebdaab1c9e77.tar.gz
- added usb disk direct driver.
- make gp_log_add_func/remove_func use non-format string - remove gp_log_simple_add_func/remove_func again git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12752 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/gphoto2/gphoto2-port-library.h')
-rw-r--r--libgphoto2_port/gphoto2/gphoto2-port-library.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgphoto2_port/gphoto2/gphoto2-port-library.h b/libgphoto2_port/gphoto2/gphoto2-port-library.h
index 226f946b3..837f2bffc 100644
--- a/libgphoto2_port/gphoto2/gphoto2-port-library.h
+++ b/libgphoto2_port/gphoto2/gphoto2-port-library.h
@@ -71,6 +71,9 @@ typedef struct _GPPortOperations {
int value, int index, char *bytes, int size);
int (*msg_class_read) (GPPort * dev, int request,
int value, int index, char *bytes, int size);
+
+ /* For USB disk direct IO devices */
+ int (*seek) (GPPort * dev, int offset, int whence);
} GPPortOperations;
typedef GPPortType (* GPPortLibraryType) (void);