> Well, if someone will give me the network protocol specification SANE uses
> to talk, writing a TWAIN wrapper to use with a SANE networked scanner will
> suddenly become a higher priority project on my list. Until then it'll will
> have to wait until I feel like reverse engineer the protocol. So far I
> haven't been able to find it in the documentation for SANE anywhere.
?? It is in the sane package that can be found on
http://www.mostang.com/sane.
I have checked V 0.72, and it has a subdirectory doc, that contains net.tex
which describes the RPCs that make up the net protocol.
For an actual implementation reference, see :
sanei/sanei_codec_ascii.c
sanei/sanei_codec_bin.c
sanei/sanei_net.c
sanei/sanei_wire.c
backend/net.c
frontend/saned.c
This should provide you with quite enough reference and a bunch of convenience
functions to access the sane net protocol.
Actually what you need to do, is to rewrite backend/net.c in a way that
it exports a TWAIN interface, or write a SANE->TWAIN bridge interface
that is simply linked to net.c.
CU,Andy
-- = Andreas Beck | Email : <andreas.beck@ggi-project.org> =
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com