SANEI
1.3.1.72-4c77c
include
sane
sanei_pio.h
1
/* sane - Scanner Access Now Easy.
2
Copyright (C) 1998 Christian Bucher
3
Copyright (C) 1998 Kling & Hautzinger GmbH
4
This file is part of the SANE package.
5
6
This program is free software; you can redistribute it and/or
7
modify it under the terms of the GNU General Public License as
8
published by the Free Software Foundation; either version 2 of the
9
License, or (at your option) any later version.
10
11
This program is distributed in the hope that it will be useful, but
12
WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <https://www.gnu.org/licenses/>.
18
19
As a special exception, the authors of SANE give permission for
20
additional uses of the libraries contained in this release of SANE.
21
22
The exception is that, if you link a SANE library with other files
23
to produce an executable, this does not by itself cause the
24
resulting executable to be covered by the GNU General Public
25
License. Your use of that executable is in no way restricted on
26
account of linking the SANE library code into it.
27
28
This exception does not, however, invalidate any other reasons why
29
the executable file might be covered by the GNU General Public
30
License.
31
32
If you submit changes to SANE to the maintainers to be included in
33
a subsequent release, you agree by submitting the changes that
34
those changes may be distributed with this exception intact.
35
36
If you write modifications of your own for SANE, it is your choice
37
whether to permit this exception to apply to your modifications.
38
If you do not wish that, delete this exception notice. */
39
40
#ifndef sanei_pio_h
41
#define sanei_pio_h
42
43
#include <sys/types.h>
44
45
#include <sane/sane.h>
46
47
extern
SANE_Status sanei_pio_open (
const
char
* dev,
int
* fd);
48
extern
void
sanei_pio_close (
int
fd);
49
extern
int
sanei_pio_read (
int
fd, u_char * buf,
int
n);
50
extern
int
sanei_pio_write (
int
fd,
const
u_char * buf,
int
n);
51
52
#endif
/* sanei_pio_h */
Generated on Mon Oct 28 2024 15:43:05 for SANEI by
1.9.4