summaryrefslogtreecommitdiff
path: root/backend/epson2_net.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
commit6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch)
tree2e301d871bbeeb44aa57ff9cc070fcf3be484487 /backend/epson2_net.h
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'backend/epson2_net.h')
-rw-r--r--backend/epson2_net.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/backend/epson2_net.h b/backend/epson2_net.h
new file mode 100644
index 0000000..6a6e8d8
--- /dev/null
+++ b/backend/epson2_net.h
@@ -0,0 +1,18 @@
+#ifndef _EPSON2_NET_H_
+#define _EPSON2_NET_H_
+
+#include <sys/types.h>
+#include "../include/sane/sane.h"
+
+extern int sanei_epson_net_read(struct Epson_Scanner *s, unsigned char *buf, ssize_t buf_size,
+ SANE_Status *status);
+extern int sanei_epson_net_write(struct Epson_Scanner *s, unsigned int cmd, const unsigned char *buf,
+ size_t buf_size, size_t reply_len,
+ SANE_Status *status);
+extern int
+sanei_epson_net_read_raw(Epson_Scanner *s, unsigned char *buf, size_t wanted,
+ SANE_Status * status);
+extern SANE_Status sanei_epson_net_lock(struct Epson_Scanner *s);
+extern SANE_Status sanei_epson_net_unlock(struct Epson_Scanner *s);
+
+#endif