[sane-devel] Handles in sanei_net.h

Bartłomiej Żogała sane at nusch.pl
Sat Feb 20 15:31:44 UTC 2016


Hello, I'm trying to compile Canon DR-2020U driver, did some fixes on
pointers, but stuck on this. It seems it's on libsane side. Shouldn't
sanei_net.h be of type SANE_Handle ?

--- /sane-backends/include/sane/sanei_net.h     2016-02-20
14:30:53.229492742 +0100
+++ /usr/include/sane/sanei_net.h       2016-02-20 16:00:09.901463027 +0100
@@ -69,7 +69,7 @@
 typedef struct
   {
     SANE_Status status;
-    SANE_Word handle;
+    SANE_Handle handle;
     SANE_String resource_to_authorize;
   }
 SANE_Open_Reply;
@@ -83,7 +83,7 @@

 typedef struct
   {
-    SANE_Word handle;
+    SANE_Handle handle;
     SANE_Word option;
     SANE_Word action;
     SANE_Word value_type;

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20160220/3e0f7856/attachment.html>


More information about the sane-devel mailing list