Added OS/2 compatibility fixes (from "Franz Bakan" <fbakan@gmx.net>).

New version: 1.0-114.
Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2001-11-22 20:24:40 +00:00
rodzic e98c5df99b
commit 99f4f0c4fc
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -9,7 +9,7 @@
; ;
:backend "mustek" ; name of backend :backend "mustek" ; name of backend
:version "1.0-113" ; version of backend :version "1.0-114" ; version of backend
:status :stable ; :alpha, :beta, :stable, :new :status :stable ; :alpha, :beta, :stable, :new
:manpage "sane-mustek" ; name of manpage (if it exists) :manpage "sane-mustek" ; name of manpage (if it exists)
:url "http://www.meier-geinitz.de/sane/" :url "http://www.meier-geinitz.de/sane/"

Wyświetl plik

@ -271,6 +271,9 @@ typedef struct Mustek_Scanner
SANE_Int resolution_code; SANE_Int resolution_code;
int fd; /* SCSI filedescriptor */ int fd; /* SCSI filedescriptor */
pid_t reader_pid; /* process id of reader */ pid_t reader_pid; /* process id of reader */
#ifdef HAVE_OS2_H
int reader_fds; /* OS/2: pipe write handler for reader */
#endif
int pipe; /* pipe to reader process */ int pipe; /* pipe to reader process */
long start_time; /* at this time the scan started */ long start_time; /* at this time the scan started */
SANE_Word total_bytes; /* bytes transmitted by sane_read */ SANE_Word total_bytes; /* bytes transmitted by sane_read */