sane-project-website/old-archive/2000-09/0071.html

106 wiersze
3.7 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: SANE Api question: SANE_INFO_RELOAD_OPTIONS</TITLE>
<META NAME="Author" CONTENT="mh (moloch@nikocity.de)">
<META NAME="Subject" CONTENT="Re: SANE Api question: SANE_INFO_RELOAD_OPTIONS">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: SANE Api question: SANE_INFO_RELOAD_OPTIONS</H1>
<!-- received="Thu Sep 7 12:35:32 2000" -->
<!-- isoreceived="20000907193532" -->
<!-- sent="Thu, 7 Sep 2000 21:28:48 +0200" -->
<!-- isosent="20000907192848" -->
<!-- name="mh" -->
<!-- email="moloch@nikocity.de" -->
<!-- subject="Re: SANE Api question: SANE_INFO_RELOAD_OPTIONS" -->
<!-- id="00090721343500.04586@slowcrap" -->
<!-- inreplyto="39B7AC61.A82B0D52@gno.de" -->
<STRONG>From:</STRONG> mh (<A HREF="mailto:moloch@nikocity.de?Subject=Re:%20SANE%20Api%20question:%20SANE_INFO_RELOAD_OPTIONS&In-Reply-To=&lt;00090721343500.04586@slowcrap&gt;"><EM>moloch@nikocity.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Sep 07 2000 - 12:28:48 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0072.html">Douglas Gilbert: "Re: Creating /dev/scanner"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0070.html">M. Peck Dickens: "Thanks guys"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0064.html">Jochen Eisinger: "Re: SANE Api question: SANE_INFO_RELOAD_OPTIONS"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#71">[ date ]</A>
<A HREF="index.html#71">[ thread ]</A>
<A HREF="subject.html#71">[ subject ]</A>
<A HREF="author.html#71">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Jochen Eisinger, Don, 07 Sep 2000 :
<BR>
<EM>&gt; Hi!
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; The definition of sane_get_option_descriptor says:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &quot;... The returned option descriptor is guaranteed to remain valid (and
</EM><BR>
<EM>&gt; at the returned address) until the device is closed.&quot; (SANE Standard
</EM><BR>
<EM>&gt; Version 1.01, page 26, 4.3.6 sane_get_option_descriptor)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Since the constraint range is part of the option descriptor it may not
</EM><BR>
<EM>&gt; change during runtime.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; -- jochen
</EM><BR>
Hi,
<BR>
I just didn't know that valid == elements remain unchanged.
<BR>
I thought this only refers to the pointer... my fault :-(
<BR>
<P>Thanks for your reply,
<BR>
<P>Michael
<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:%20SANE%20Api%20question:%20SANE_INFO_RELOAD_OPTIONS&In-Reply-To=&lt;00090721343500.04586@slowcrap&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0072.html">Douglas Gilbert: "Re: Creating /dev/scanner"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0070.html">M. Peck Dickens: "Thanks guys"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0064.html">Jochen Eisinger: "Re: SANE Api question: SANE_INFO_RELOAD_OPTIONS"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#71">[ date ]</A>
<A HREF="index.html#71">[ thread ]</A>
<A HREF="subject.html#71">[ subject ]</A>
<A HREF="author.html#71">[ 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>Thu Sep 07 2000 - 12:39:37 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>