diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-06 14:00:40 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-06 14:00:40 +0200 |
commit | 6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch) | |
tree | 2e301d871bbeeb44aa57ff9cc070fcf3be484487 /backend/mustek_pp_decl.h |
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'backend/mustek_pp_decl.h')
-rw-r--r-- | backend/mustek_pp_decl.h | 83 |
1 files changed, 83 insertions, 0 deletions
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 |