kopia lustrzana https://gitlab.com/sane-project/website
76 wiersze
2.9 KiB
HTML
76 wiersze
2.9 KiB
HTML
![]() |
<!-- received="Sat May 1 12:30:52 1999 PDT" -->
|
||
|
<!-- sent="Sat, 01 May 1999 20:34:59 +0200" -->
|
||
|
<!-- name="Oliver Rauch" -->
|
||
|
<!-- email="oliver.rauch@Wolfsburg.DE" -->
|
||
|
<!-- subject="Re: May sane_init fail?" -->
|
||
|
<!-- id="" -->
|
||
|
<!-- inreplyto="May sane_init fail?" -->
|
||
|
<title>sane-devel: Re: May sane_init fail?</title>
|
||
|
<h1>Re: May sane_init fail?</h1>
|
||
|
<b>Oliver Rauch</b> (<a href="mailto:oliver.rauch@Wolfsburg.DE"><i>oliver.rauch@Wolfsburg.DE</i></a>)<br>
|
||
|
<i>Sat, 01 May 1999 20:34:59 +0200</i>
|
||
|
<p>
|
||
|
<ul>
|
||
|
<li> <b>Messages sorted by:</b> <a href="date.html#5">[ date ]</a><a href="index.html#5">[ thread ]</a><a href="subject.html#5">[ subject ]</a><a href="author.html#5">[ author ]</a>
|
||
|
<!-- next="start" -->
|
||
|
<li> <b>Next message:</b> <a href="0006.html">ekaiser: "probs with AGFA Snapscan 600"</a>
|
||
|
<li> <b>Previous message:</b> <a href="0004.html">Oliver Rauch: "Re: xsane default sizes"</a>
|
||
|
<!-- nextthread="start" -->
|
||
|
<!-- reply="end" -->
|
||
|
</ul>
|
||
|
<!-- body="start" -->
|
||
|
Ingo Wilken wrote:<br>
|
||
|
<p>
|
||
|
<i>> > Anyway. I'm now writing a patch to sane 1.0.1 with my suggested</i><br>
|
||
|
<i>> > change. I suggest three valid responses from sane_init():</i><br>
|
||
|
<i>> > SANE_STATUS_GOOD - Success</i><br>
|
||
|
<i>> > SANE_STATUS_NO_MEM - Ran out of memory</i><br>
|
||
|
<i>> > SANE_STATUS_UNSUPPORTED - Not supported on this machines current</i><br>
|
||
|
<i>> > configuration</i><br>
|
||
|
<i>> > Would there be need for more return values?</i><br>
|
||
|
<i>></i><br>
|
||
|
<i>> What's the suggested return values for a backend/SANE version mismatch?</i><br>
|
||
|
<i>> I'm currently using SANE_STATUS_UNSUPPORTED (seems logical), but</i><br>
|
||
|
<i>> SANE_STATUS_INVAL could be used too.</i><br>
|
||
|
<i>></i><br>
|
||
|
<i>> BTW, it seems that almost no backend checks the version number, and most</i><br>
|
||
|
<i>> backends distributed with 1.0.x are listed as version 0.something in the</i><br>
|
||
|
<i>> "supported scanners" webpage - not good.</i><br>
|
||
|
<i>></i><br>
|
||
|
<p>
|
||
|
Hi Ingo,<br>
|
||
|
<p>
|
||
|
the frontends do have to chacke the version numbers, a backend is not able to do<br>
|
||
|
<p>
|
||
|
a right test for it.<br>
|
||
|
<p>
|
||
|
xsane does test it and if the backend responds with a sane major version != 1,<br>
|
||
|
xsane aborts with an error message!<br>
|
||
|
<p>
|
||
|
Bye<br>
|
||
|
Oliver<br>
|
||
|
<p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
--
|
||
|
EMAIL: <a href="mailto:Oliver.Rauch@Wolfsburg.DE">Oliver.Rauch@Wolfsburg.DE</a>
|
||
|
WWW: <a href="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</a>
|
||
|
<p>
|
||
|
<p>
|
||
|
<p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
--
|
||
|
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
|
||
|
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
|
||
|
</pre>
|
||
|
<!-- body="end" -->
|
||
|
<p>
|
||
|
<ul>
|
||
|
<!-- next="start" -->
|
||
|
<li> <b>Next message:</b> <a href="0006.html">ekaiser: "probs with AGFA Snapscan 600"</a>
|
||
|
<li> <b>Previous message:</b> <a href="0004.html">Oliver Rauch: "Re: xsane default sizes"</a>
|
||
|
<!-- nextthread="start" -->
|
||
|
<!-- reply="end" -->
|
||
|
</ul>
|