[sane-devel] sane_cancel and sane_read

Jon Chambers jon at jon.demon.co.uk
Tue Apr 25 16:44:25 UTC 2006

Hi Wittawat,

On Tuesday 25 April 2006 14:07, Wittawat Yamwong wrote:
> Should/must/may a frontend call sane_read after sane_cancel?
> [...]
> This is important to my backend (pixma). It would be much more complex if
> frontends are not required to call sane_read after sane_cancel [...]

I don't know what the correct answer to this is.  However, if the SANE spec 
seems ambiguous to you then it may seem likewise to a front end writer who 
might interpret it either way.

Therefore for maximum resilience you might be better to bite the bullet and be 
prepared for either case.


====================== Jon Chambers =====================
 http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669

More information about the sane-devel mailing list