<div dir="ltr">why does the value of maxlen vary from various frontends?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 8, 2016 at 9:06 PM, m. allan noah <span dir="ltr"><<a href="mailto:kitno455@gmail.com" target="_blank">kitno455@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">maxlen is provided by the caller of the function, to tell the backend<br>
how much memory the caller has allocated for image data.<br>
<br>
allan<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Mar 8, 2016 at 3:09 AM, ky gcp <<a href="mailto:kygcpsample@gmail.com">kygcpsample@gmail.com</a>> wrote:<br>
> hi,<br>
><br>
> how is the argument maxlen determined in sane_read() function?<br>
><br>
> SANE_Status sane_read (SANE_Handle h, SANE_Byte * buf, SANE_Int maxlen,<br>
> SANE_Int * len);<br>
><br>
> Thanks for your help.<br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">> --<br>
> sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
>              to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
<br>
<br>
<br>
--<br>
"well, I stand up next to a mountain- and I chop it down with the edge<br>
of my hand"<br>
</font></span></blockquote></div><br></div>