[sane-devel] SANE2 proposal

mh crapsite@gmx.net
Mon, 15 Apr 2002 07:03:31 +0200


Oliver Rauch, Sonntag, 14. April 2002 22:45:
> Henning Meier-Geinitz wrote:
...
> > As an addition, we should make clear what can be changed in a
> > SANE_Option_Descriptor and when. Currently it must only be "vaild" and
> > the address stay the same. E.g. is the backend allowed to change the
> > type of option? Or only capabilities?
>
> I think it is allowed to change all in sane_control_option when
> SANE_INFO_RELOAD_OPTIONS is set - or am I wrong?

I think your wrong; see Table 4.8 (SANE standard 1):
"The setting of an option may affect the /*value*/ or /*availability*/ of one 
or more other options."
There were at least a few people who asked about this on the list (/me 
included), and the answers were always different :-)
Therefore I agree with Henning, that a better explanation is needed.

Michael