[sane-devel] SANE2 plans: RFC
Oliver Rauch
oliver.rauch at rauch-domain.de
Sun Aug 10 16:58:34 BST 2003
Please don`t mix versions in the backend.
There is no reel advantage to create a backend that supports version1 and
version2.
But it makes the backends very complex, large and has a high risk for bugs.
Oliver
On Sunday 10 August 2003 10:06, Thomas Soumarmon wrote:
> Le Samedi 9 Août 2003 12:34, Major A a écrit :
> > Hi,
> >
> > I think that we should get the SANE2 implementation rolling, even if
> > the standard isn't completely finalized. A standard is never final
> > without even a single frontend and backend to use it.
> >
> > As Henning has said, adapting the test backend and scanimage should be
> > first. But how shall we do that in CVS? The frontend should be easy
> > enough because it can check for the backend version to see whether
> > SANE1 or SANE2 is used, making it completely transparent to the
> > user. But there is no version-check facility for frontends, so
> > backends will be a bit more difficult.
>
> Just a thought. Could SANE2 introduce a handcheck protocol to determine
> which API is used :
> frontend_knows_versions( list_of_versions )
> backend_agrees_to_use( version )
> frontend_confirms_use_version( version )
>
> If those functions are not found in backend -> SANE1
> If those functions are not called by frontend -> SANE1
>
> That would avoid a CVS mess up.
>
> As I did not follow the whole thread about that, I may be completely wrong,
> tell me if this is the case.
>
>
> Have a nice day,
>
> Thomas.
>
>
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
--
http://www.xsane.org
http://www.mostang.com/sane
http://www.rauch-domain.de
mailto:Oliver.Rauch at Rauch-Domain.DE
More information about the sane-devel
mailing list