kopia lustrzana https://gitlab.com/sane-project/website
120 wiersze
4.8 KiB
HTML
120 wiersze
4.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: Re: Return values of sane_init() (Was: EOF detectio</TITLE>
|
|
<META NAME="Author" CONTENT="Henning Meier-Geinitz (henning@meier-geinitz.de)">
|
|
<META NAME="Subject" CONTENT="Re: Return values of sane_init() (Was: EOF detection)">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Return values of sane_init() (Was: EOF detection)</H1>
|
|
<!-- received="Sat May 19 09:46:10 2001" -->
|
|
<!-- isoreceived="20010519164610" -->
|
|
<!-- sent="Sat, 19 May 2001 18:44:55 +0200" -->
|
|
<!-- isosent="20010519164455" -->
|
|
<!-- name="Henning Meier-Geinitz" -->
|
|
<!-- email="henning@meier-geinitz.de" -->
|
|
<!-- subject="Re: Return values of sane_init() (Was: EOF detection)" -->
|
|
<!-- id="20010519184455.B13154@vortex.swb.de" -->
|
|
<!-- inreplyto="20010511191315.D28460@vortex.swb.de" -->
|
|
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20Return%20values%20of%20sane_init()%20(Was:%20EOF%20detection)&In-Reply-To=<20010519184455.B13154@vortex.swb.de>"><EM>henning@meier-geinitz.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sat May 19 2001 - 09:44:55 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0252.html">lee johnson: "Re: Recommend a USB scanner with Transparency Scanning"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0250.html">Henning Meier-Geinitz: "Re: SANE protocol error ?"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0136.html">Henning Meier-Geinitz: "Re: Return values of sane_init() (Was: EOF detection)"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0253.html">Oliver Rauch: "Re: Return values of sane_init() (Was: EOF detection)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0253.html">Oliver Rauch: "Re: Return values of sane_init() (Was: EOF detection)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#251">[ date ]</A>
|
|
<A HREF="index.html#251">[ thread ]</A>
|
|
<A HREF="subject.html#251">[ subject ]</A>
|
|
<A HREF="author.html#251">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi,
|
|
<BR>
|
|
<P>[about the return value of sane_init]
|
|
<BR>
|
|
<P>On Fri, May 11, 2001 at 07:13:15PM +0200, Henning Meier-Geinitz wrote:
|
|
<BR>
|
|
<EM>> 4.3.1 sane_init
|
|
</EM><BR>
|
|
<EM>> This function must be called before any other SANE function can be
|
|
</EM><BR>
|
|
<EM>> called. The behavior of a SANE backend is undefined if this function
|
|
</EM><BR>
|
|
<EM>> is not called first, or if the returned status is anything other then
|
|
</EM><BR>
|
|
<EM>> SANE_STATUS_GOOD.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> [...] The returned strings must be ASCII-NUL terminated.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> This function may fail with one of the following status codes.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> SANE_STATUS_UNSUPPORTED:
|
|
</EM><BR>
|
|
<EM>> The operation is not supported for the current configuration.
|
|
</EM><BR>
|
|
<EM>> number.
|
|
</EM><BR>
|
|
<EM>> SANE_STATUS_NO_MEM:
|
|
</EM><BR>
|
|
<EM>> An insufficent amount of memory is available.
|
|
</EM><BR>
|
|
<P>Another return value that is currently in use is SANE_STATUS_INVAL
|
|
<BR>
|
|
(snapscan, if V_MAJOR != major version of backend).
|
|
<BR>
|
|
<P>Should we add the text above about the return status to the standard?
|
|
<BR>
|
|
<P>Bye,
|
|
<BR>
|
|
Henning
|
|
<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?Subject=Re:%20Return%20values%20of%20sane_init()%20(Was:%20EOF%20detection)&In-Reply-To=<20010519184455.B13154@vortex.swb.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0252.html">lee johnson: "Re: Recommend a USB scanner with Transparency Scanning"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0250.html">Henning Meier-Geinitz: "Re: SANE protocol error ?"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0136.html">Henning Meier-Geinitz: "Re: Return values of sane_init() (Was: EOF detection)"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0253.html">Oliver Rauch: "Re: Return values of sane_init() (Was: EOF detection)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0253.html">Oliver Rauch: "Re: Return values of sane_init() (Was: EOF detection)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#251">[ date ]</A>
|
|
<A HREF="index.html#251">[ thread ]</A>
|
|
<A HREF="subject.html#251">[ subject ]</A>
|
|
<A HREF="author.html#251">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Sat May 19 2001 - 09:47:46 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|