From 6e9c41a892ed0e0da326e0278b3221ce3f5713b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 6 Oct 2014 14:00:40 +0200 Subject: Initial import of sane-backends version 1.0.24-1.2 --- backend/mustek_pp_decl.h | 83 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 backend/mustek_pp_decl.h (limited to 'backend/mustek_pp_decl.h') diff --git a/backend/mustek_pp_decl.h b/backend/mustek_pp_decl.h new file mode 100644 index 0000000..3875f3d --- /dev/null +++ b/backend/mustek_pp_decl.h @@ -0,0 +1,83 @@ + +#ifndef MUSTEK_PP_DECL_H +#define MUSTEK_PP_DECL_H +/* debug driver, version 0.11-devel, author Jochen Eisinger */ +static SANE_Status debug_drv_init (SANE_Int options, SANE_String_Const port, + SANE_String_Const name, SANE_Attach_Callback attach); +static void debug_drv_capabilities (SANE_Int info, SANE_String *model, + SANE_String *vendor, SANE_String *type, + SANE_Int *maxres, SANE_Int *minres, + SANE_Int *maxhsize, SANE_Int *maxvsize, + SANE_Int *caps); +static SANE_Status debug_drv_open (SANE_String port, SANE_Int caps, SANE_Int *fd); +static void debug_drv_setup (SANE_Handle hndl); +static SANE_Status debug_drv_config (SANE_Handle hndl, + SANE_String_Const optname, + SANE_String_Const optval); +static void debug_drv_close (SANE_Handle hndl); +static SANE_Status debug_drv_start (SANE_Handle hndl); +static void debug_drv_read (SANE_Handle hndl, SANE_Byte *buffer); +static void debug_drv_stop (SANE_Handle hndl); + + +/* CIS drivers for 600CP, 1200CP, and 1200CP+ + Version 0.13-beta, author Eddy De Greef */ + +static SANE_Status cis600_drv_init (SANE_Int options, + SANE_String_Const port, + SANE_String_Const name, + SANE_Attach_Callback attach); +static SANE_Status cis1200_drv_init (SANE_Int options, + SANE_String_Const port, + SANE_String_Const name, + SANE_Attach_Callback attach); +static SANE_Status cis1200p_drv_init(SANE_Int options, + SANE_String_Const port, + SANE_String_Const name, + SANE_Attach_Callback attach); +static void cis_drv_capabilities(SANE_Int info, + SANE_String *model, + SANE_String *vendor, + SANE_String *type, + SANE_Int *maxres, + SANE_Int *minres, + SANE_Int *maxhsize, + SANE_Int *maxvsize, + SANE_Int *caps); +static SANE_Status cis_drv_open (SANE_String port, SANE_Int caps, SANE_Int *fd); +static void cis_drv_setup (SANE_Handle hndl); +static SANE_Status cis_drv_config (SANE_Handle hndl, + SANE_String_Const optname, + SANE_String_Const optval); +static void cis_drv_close (SANE_Handle hndl); +static SANE_Status cis_drv_start (SANE_Handle hndl); +static void cis_drv_read (SANE_Handle hndl, SANE_Byte *buffer); +static void cis_drv_stop (SANE_Handle hndl); + +/* CCD drivers for 300 dpi models + Version 0.11-devel, author Jochen Eisinger */ + +static SANE_Status ccd300_init (SANE_Int options, + SANE_String_Const port, + SANE_String_Const name, + SANE_Attach_Callback attach); +static void ccd300_capabilities(SANE_Int info, + SANE_String *model, + SANE_String *vendor, + SANE_String *type, + SANE_Int *maxres, + SANE_Int *minres, + SANE_Int *maxhsize, + SANE_Int *maxvsize, + SANE_Int *caps); +static SANE_Status ccd300_open (SANE_String port, SANE_Int caps, SANE_Int *fd); +static void ccd300_setup (SANE_Handle hndl); +static SANE_Status ccd300_config (SANE_Handle hndl, + SANE_String_Const optname, + SANE_String_Const optval); +static void ccd300_close (SANE_Handle hndl); +static SANE_Status ccd300_start (SANE_Handle hndl); +static void ccd300_read (SANE_Handle hndl, SANE_Byte *buffer); +static void ccd300_stop (SANE_Handle hndl); + +#endif -- cgit v1.2.3