1141cc406Sopenharmony_ci/* sane - Scanner Access Now Easy.
2141cc406Sopenharmony_ci
3141cc406Sopenharmony_ci   Copyright (C) 2002 Sergey Vlasov <vsu@altlinux.ru>
4141cc406Sopenharmony_ci
5141cc406Sopenharmony_ci   This file is part of the SANE package.
6141cc406Sopenharmony_ci
7141cc406Sopenharmony_ci   This program is free software; you can redistribute it and/or
8141cc406Sopenharmony_ci   modify it under the terms of the GNU General Public License as
9141cc406Sopenharmony_ci   published by the Free Software Foundation; either version 2 of the
10141cc406Sopenharmony_ci   License, or (at your option) any later version.
11141cc406Sopenharmony_ci
12141cc406Sopenharmony_ci   This program is distributed in the hope that it will be useful, but
13141cc406Sopenharmony_ci   WITHOUT ANY WARRANTY; without even the implied warranty of
14141cc406Sopenharmony_ci   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15141cc406Sopenharmony_ci   General Public License for more details.
16141cc406Sopenharmony_ci
17141cc406Sopenharmony_ci   You should have received a copy of the GNU General Public License
18141cc406Sopenharmony_ci   along with this program.  If not, see <https://www.gnu.org/licenses/>.
19141cc406Sopenharmony_ci
20141cc406Sopenharmony_ci   As a special exception, the authors of SANE give permission for
21141cc406Sopenharmony_ci   additional uses of the libraries contained in this release of SANE.
22141cc406Sopenharmony_ci
23141cc406Sopenharmony_ci   The exception is that, if you link a SANE library with other files
24141cc406Sopenharmony_ci   to produce an executable, this does not by itself cause the
25141cc406Sopenharmony_ci   resulting executable to be covered by the GNU General Public
26141cc406Sopenharmony_ci   License.  Your use of that executable is in no way restricted on
27141cc406Sopenharmony_ci   account of linking the SANE library code into it.
28141cc406Sopenharmony_ci
29141cc406Sopenharmony_ci   This exception does not, however, invalidate any other reasons why
30141cc406Sopenharmony_ci   the executable file might be covered by the GNU General Public
31141cc406Sopenharmony_ci   License.
32141cc406Sopenharmony_ci
33141cc406Sopenharmony_ci   If you submit changes to SANE to the maintainers to be included in
34141cc406Sopenharmony_ci   a subsequent release, you agree by submitting the changes that
35141cc406Sopenharmony_ci   those changes may be distributed with this exception intact.
36141cc406Sopenharmony_ci
37141cc406Sopenharmony_ci   If you write modifications of your own for SANE, it is your choice
38141cc406Sopenharmony_ci   whether to permit this exception to apply to your modifications.
39141cc406Sopenharmony_ci   If you do not wish that, delete this exception notice.
40141cc406Sopenharmony_ci*/
41141cc406Sopenharmony_ci
42141cc406Sopenharmony_ci#ifndef GT68XX_GENERIC_H
43141cc406Sopenharmony_ci#define GT68XX_GENERIC_H
44141cc406Sopenharmony_ci
45141cc406Sopenharmony_ci#include "gt68xx_low.h"
46141cc406Sopenharmony_ci
47141cc406Sopenharmony_cistatic SANE_Status
48141cc406Sopenharmony_cigt68xx_generic_move_relative (GT68xx_Device * dev, SANE_Int distance);
49141cc406Sopenharmony_ci
50141cc406Sopenharmony_cistatic SANE_Status gt68xx_generic_start_scan (GT68xx_Device * dev);
51141cc406Sopenharmony_ci
52141cc406Sopenharmony_cistatic SANE_Status
53141cc406Sopenharmony_cigt68xx_generic_read_scanned_data (GT68xx_Device * dev, SANE_Bool * ready);
54141cc406Sopenharmony_ci
55141cc406Sopenharmony_cistatic SANE_Status
56141cc406Sopenharmony_cigt68xx_generic_set_afe (GT68xx_Device * dev, GT68xx_AFE_Parameters * params);
57141cc406Sopenharmony_ci
58141cc406Sopenharmony_cistatic SANE_Status
59141cc406Sopenharmony_cigt68xx_generic_set_exposure_time (GT68xx_Device * dev,
60141cc406Sopenharmony_ci				  GT68xx_Exposure_Parameters * params);
61141cc406Sopenharmony_cistatic SANE_Status gt68xx_generic_get_id (GT68xx_Device * dev);
62141cc406Sopenharmony_cistatic SANE_Status gt68xx_generic_paperfeed (GT68xx_Device * dev);
63141cc406Sopenharmony_ci
64141cc406Sopenharmony_cistatic SANE_Status
65141cc406Sopenharmony_cigt68xx_generic_setup_scan (GT68xx_Device * dev,
66141cc406Sopenharmony_ci			   GT68xx_Scan_Request * request,
67141cc406Sopenharmony_ci			   GT68xx_Scan_Action action,
68141cc406Sopenharmony_ci			   GT68xx_Scan_Parameters * params);
69141cc406Sopenharmony_cistatic SANE_Status
70141cc406Sopenharmony_cigt68xx_generic_move_paper (GT68xx_Device * dev,
71141cc406Sopenharmony_ci			   GT68xx_Scan_Request * request);
72141cc406Sopenharmony_ci
73141cc406Sopenharmony_ci#endif /* not GT68XX_GENERIC_H */
74