summaryrefslogtreecommitdiff
path: root/backend/epsonds-jpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/epsonds-jpeg.h')
-rw-r--r--backend/epsonds-jpeg.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/backend/epsonds-jpeg.h b/backend/epsonds-jpeg.h
new file mode 100644
index 0000000..c54208e
--- /dev/null
+++ b/backend/epsonds-jpeg.h
@@ -0,0 +1,19 @@
+/*
+ * epsonds.c - Epson ESC/I-2 driver, JPEG support.
+ *
+ * Copyright (C) 2015 Tower Technologies
+ * Author: Alessandro Zummo <a.zummo@towertech.it>
+ *
+ * This file is part of the SANE package.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation, version 2.
+ */
+
+#define UNUSEDARG __attribute__ ((unused))
+
+SANE_Status eds_jpeg_start(epsonds_scanner *s);
+void eds_jpeg_finish(epsonds_scanner *s);
+SANE_Status eds_jpeg_read_header(epsonds_scanner *s);
+void eds_jpeg_read(SANE_Handle handle, SANE_Byte *data, SANE_Int max_length, SANE_Int *length);