<p style="margin:0;padding:0;" align="left"><br /></p> <br /> OOooppss, I was a bit late and it is described in a better English than mine.<br /> <br />+10<br /><br />EF.<br /><br /><blockquote style="border-left: 2px solid #ff0000; padding-left: 5px; margin-left: 5px">> Message du 28/03/08 19:09<br />> De : "Julien BLACHE" <br />> <br />> Based on the current saned, it can already be achieved:<br />> - link saned statically to libsane-dll (what we know as libsane<br />> today)<br />> - ship libsane-net as libsane<br />> - add a local connection to saned, typically a UNIX socket and listen<br />> to that and that only unless general networking is explicitly<br />> enabled. Ditto libsane only connects to the UNIX socket by<br />> default. (the UNIX socket wins hands down against localhost/TCP)<br />> <br />> There, done. Keep all the underlying architecture as far as saned is<br />> concerned.<br />> <br />> After that, implement whatever new feature you want in the<br />> backends. The backends API is now a private API between saned and the<br />> backends. Updates to the public SANE API as implemented by libsane<br />> only requires changing libsane. As an added bonus, a compat layer can<br />> probably be offered for current backends that cannot be modified.<br />> <br />> The network protocol will also probably need to change at some point,<br />> I haven't thought about that particular point yet. More interactivity,<br />> more status messages and the ability to feed scan data over a unique<br />> TCP stream would be nice.<br />> <br />> User ACLs can be added to the mix.<br />> <br />> We're losing the ability to link an application to a backend directly<br />> as is possible today, but it's seldomly use and we're getting rid of<br />> those frigging side effects we have today.<br />> <br />> If we're redoing SANE, let's at least do it the right way. Investing<br />> time and effort into something that'll only be marginally better than<br />> what we have today makes no sense.<br />> <br />> JB.<br /></blockquote><BR><BR><i>Créez votre adresse électronique <a target=_blank href=http://www.laposte.net>prénom.nom@laposte.net</a> <BR> 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.</i><BR>