[sane-devel] [PATCH v2 00/14] win32 portable net backend

Ruediger Meier sweet_f_a at gmx.de
Mon Jan 23 23:05:45 UTC 2012


From: Ruediger Meier <ruediger.meier at ga-group.nl>

v2:
1) PEBKAC fixes in macro SANE_CHECK_NETDB_FUNC
2) ChangeLog updated
3) rebased on 6aeb0527

This patch-set ports the net backend to win32. Maybe we 
could build a useful native (non-cygwin) xsane (saned client) on 
Windows now.

You can pull this patch-set also from my private clone
git://github.com/rudimeier/sane-backends.git
branch win32/net


Ruediger Meier (14):
  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
  update ChangeLog for previous commits

 ChangeLog                |    4 +
 acinclude.m4             |   84 ++++++++++++++++---
 backend/net.c            |   54 +++++++++++-
 backend/net.h            |    3 -
 configure                |  217 ++++++++++++++++++++++++++++++++++++++++++----
 configure.in             |   22 ++++-
 include/sane/config.h.in |    9 ++
 sanei/sanei_udp.c        |    3 +
 8 files changed, 357 insertions(+), 39 deletions(-)

-- 
1.7.6.1




More information about the sane-devel mailing list