summaryrefslogtreecommitdiffstats
path: root/libdpf/sglib.h
diff options
context:
space:
mode:
authorJames <git@panaceas.org>2014-05-05 17:50:20 +0100
committerJames <git@panaceas.org>2014-05-05 17:50:20 +0100
commit470457e22a1b5537013603d5e367c51e47bb61bf (patch)
tree6b72d32bfd9eaec31c8c520d18782ccaebc01759 /libdpf/sglib.h
downloadkmd_usb-470457e22a1b5537013603d5e367c51e47bb61bf.tar.gz
kmd_usb-470457e22a1b5537013603d5e367c51e47bb61bf.tar.bz2
kmd_usb-470457e22a1b5537013603d5e367c51e47bb61bf.zip
fish
Diffstat (limited to 'libdpf/sglib.h')
-rw-r--r--libdpf/sglib.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/libdpf/sglib.h b/libdpf/sglib.h
new file mode 100644
index 0000000..a2bc232
--- /dev/null
+++ b/libdpf/sglib.h
@@ -0,0 +1,19 @@
+#include <stdint.h>
+
+
+/* generic device wrapper: */
+
+const char* dev_errstr(int error);
+
+
+/* generic SCSI device stuff: */
+
+#define DIR_IN 0
+#define DIR_OUT 1
+
+
+/* Special functions */
+
+
+
+