[sane-devel] [PATCH 00/13] win32 portable net backend
Ruediger Meier
sweet_f_a at gmx.de
Sun Jan 22 07:35:29 UTC 2012
Hi,
I've spend some time making the net backend win32 portable. Maybe we
could build a useful native (non-cygwin) xsane (saned client) on
Windows now.
Please pull from my private clone
git://github.com/rudimeier/sane-backends.git
branch win32/net
Hope this doesn't break something.
If wanted I would post these patches on this list too.
Ruediger Meier (13):
bldchn, provide macro SANE_CHECK_NETDB_FUNC
bldchn, add checks for netdb.h and ws2tcpip.h
bldchn, use our new macro SANE_CHECK_NETDB_FUNC
bldchn, checking for socklen_t more safe
fix sanei_udp, socklen_t was not defined on win32
bldchn, don't always disable net backend on win32
net, move some includes from net.h to net.c
net, add missing includes for win32
net, re-use sane_set_io_mode
net, implement O_NONBLOCK stuff for win32
net, use recv/send instead of read/write
net, call WSAStartup on win32
bldchn, SANE_CHECK_IPV6 more portable
acinclude.m4 | 76 +++++++++++++++---
backend/net.c | 54 +++++++++++-
backend/net.h | 3 -
configure | 201
++++++++++++++++++++++++++++++++++++++++++----
configure.in | 22 +++++-
include/sane/config.h.in | 9 ++
sanei/sanei_udp.c | 3 +
7 files changed, 329 insertions(+), 39 deletions(-)
--
1.7.6.1
More information about the sane-devel
mailing list