1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 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
|