kopia lustrzana https://gitlab.com/sane-project/website
85 wiersze
3.7 KiB
HTML
85 wiersze
3.7 KiB
HTML
<!-- received="Mon Nov 23 04:27:19 1998 PST" -->
|
|
<!-- sent="Mon, 23 Nov 1998 13:26:26 +0100" -->
|
|
<!-- name="Petter Reinholdtsen" -->
|
|
<!-- email="pere@hungry.com" -->
|
|
<!-- subject="Comments, questions and corrections for programmers manual" -->
|
|
<!-- id="199811231226.NAA12702@minerva.cc.uit.no" -->
|
|
<!-- inreplyto="" -->
|
|
<title>sane-devel: Comments, questions and corrections for programmers manual</title>
|
|
<h1>Comments, questions and corrections for programmers manual</h1>
|
|
<b>Petter Reinholdtsen</b> (<a href="mailto:pere@hungry.com"><i>pere@hungry.com</i></a>)<br>
|
|
<i>Mon, 23 Nov 1998 13:26:26 +0100</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#216">[ date ]</a><a href="index.html#216">[ thread ]</a><a href="subject.html#216">[ subject ]</a><a href="author.html#216">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0217.html">Dr. Andreas Bolsch: "Re: SANE v1.00 is out! --- Mustek problem"</a>
|
|
<li> <b>Previous message:</b> <a href="0215.html">Matthias Fleischer: "Re: Mustek Paragon 12000SP V1.02 Problem"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0257.html">David Mosberger-Tang: "Re: Comments, questions and corrections for programmers manual"</a>
|
|
<li> <b>Reply:</b> <a href="0257.html">David Mosberger-Tang: "Re: Comments, questions and corrections for programmers manual"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
4.2.8 Device Descriptor Type<br>
|
|
<p>
|
|
Table uses 'Noname' while text describes 'None' as the virtual device vendor. Typo?<br>
|
|
<p>
|
|
4.3.4 sane_open:<br>
|
|
<p>
|
|
'As a special case, an empty device name requests opening the first<br>
|
|
available device (if there is such a device).'<br>
|
|
<p>
|
|
What is 'an empty name'? Is it NULL, or ""? I beleave<br>
|
|
sane_open(NULL, &handle) should return the first available scanner,<br>
|
|
but is that according to plan?<br>
|
|
<p>
|
|
4.3.14 sane_strstatus<br>
|
|
<p>
|
|
How long is the return pointer valid? Until next call to strstatus()<br>
|
|
or forever?<br>
|
|
<p>
|
|
4.4 Code Flow<br>
|
|
<p>
|
|
'Once all desired frames has been acquired, function sane_cancel()<br>
|
|
must be called.'<br>
|
|
<p>
|
|
Do I need to call sane_cancel() even if sane_read() has returned<br>
|
|
SANE_STATIS_EOF?<br>
|
|
<p>
|
|
5.2.8 SANE_NET_START<br>
|
|
<p>
|
|
If the reply value byte_order contains the byte order, there should be<br>
|
|
no need for the data record to start with length spesified as unsigned<br>
|
|
integer in big-endian format. Why is this inconsistency there?<br>
|
|
<p>
|
|
Big endian format is the same as network order. The text should make<br>
|
|
a comment about that.<br>
|
|
<p>
|
|
5.2.10 SANE_NET_AUTHORIZE<br>
|
|
<p>
|
|
Must the protocol be changed to handle encrypted network<br>
|
|
communications when it comes to username/password?<br>
|
|
<p>
|
|
This network request should contain which encryption method is used to<br>
|
|
hide the password. Maybe there also should be a new message type to<br>
|
|
get a challenge/public key from the server to use when encrypting the<br>
|
|
password.<br>
|
|
<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="0217.html">Dr. Andreas Bolsch: "Re: SANE v1.00 is out! --- Mustek problem"</a>
|
|
<li> <b>Previous message:</b> <a href="0215.html">Matthias Fleischer: "Re: Mustek Paragon 12000SP V1.02 Problem"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0257.html">David Mosberger-Tang: "Re: Comments, questions and corrections for programmers manual"</a>
|
|
<li> <b>Reply:</b> <a href="0257.html">David Mosberger-Tang: "Re: Comments, questions and corrections for programmers manual"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|