Petter> The dll backend is checking for status != SANE_STATUS_GOOD
Petter> before accepting the backend.
Oops, you're right.
Petter> I'm not sure if any backends actually is using this, but I
Petter> beleave there should be a way for the backend to say "don't
Petter> use me", and that sane_init therefore should return
That's fine, but the backend must not rely on not being called anymore
after returning a status other than SANE_STATUS_GOOD in sane_init().
Petter> I suggest SANE_STATUS_GOOD if all is OK, and
Petter> SANE_STATUS_UNSUPPORTED if the backend beleave itself to be
I think the these status codes are potentially useful to return in
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail firstname.lastname@example.org