[sane-devel] Network protocol implementation (fwd)

Andre Herms aherms@cs.uni-magdeburg.de
Tue, 26 Feb 2002 15:12:41 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Hi,
> Thanks for your help.
> I have Xsane downloaded on windows.
> But I want to change the GUI to make it more like other
> windows applications.
> For that is net backend available as windows library?

No it isn't. The net backend is available as source. The problem is that most 
of the network functions used at the moment are unix specific. But sane has 
an abstraction layer - all the sanei_xxx.x files. I don't know about the deep 
internals of the net-backend but it should be possible to change the system 
dependend stuff. As win32 claims to be Posix compatible, the needed functions 
should be available. I don't know exactly but this winsock.dll had it.

So just add some #ifdefs and add a windows network layer. Then you should be 
able to compile and use the net backend. 
This is at least less work than rewriting the whole thing.

Bye
	Andre



- -- 
Andre Herms                   mailto:aherms@cs.uni-magdeburg.de
                              http://www.cs.uni-magdeburg.de/~aherms
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8e5fZK/HaDUFBducRAgswAJ9EqUmBlAlIKAvu0iuF1fvYKdq4agCaArUj
gdvOnHGcvNW+ymtiwhsFutg=
=Jje1
-----END PGP SIGNATURE-----