[sane-devel] SANE2 plans: RFC

Major A andras@users.sourceforge.net
Sun, 10 Aug 2003 11:05:53 +0100


> 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

How do you expect that to work? Maybe it's OK when you use dynamic
loading, but it will break static building for sure.

> That would avoid a CVS mess up.

It wouldn't do now for the reason just mentioned, but I think your
idea is worth considering for SANE2 so that the transition to SANE3
will be smoother...

  Andras

===========================================================================
Major Andras
    e-mail: andras@users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================