[sane-devel] SANE2 plans: RFC

Thomas Soumarmon soumarmt at nerim.net
Sun Aug 10 09:06:22 BST 2003


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.





More information about the sane-devel mailing list