This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] winsock related changes for w32api
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- To: Bart Oldeman <bart dot oldeman at btinternet dot com>
- Cc: cygwin-patches at cygwin dot com
- Date: Tue, 27 Aug 2002 06:51:09 +1000 (EST)
- Subject: Re: [PATCH] winsock related changes for w32api
--- Bart Oldeman <bart.oldeman@btinternet.com> wrote: > On Mon, 26 Aug 2002,
Danny Smith wrote:
>
> > No it is not fine. We need explict A and W SERVICE_INFO structure
> definitions.
>
> OK - I see what you mean and corrected that now.
>
> > This is not fine either. Did you read the FIXME in winsock2.h next to
> include
> > #<nspapi.h.> My reading of the Windows Sockest 2.2 spec is that is not
> meant
> > to depend on other api's.
> >
> > The FIXME refers to getting rid of dependence of winsock on service
> provider
> > api, not reinforcing that dependence
>
> I tried addressing what the FIXME said, by defining a __CSADDR_T_DEFINED
> guard.
>
> third try...
>
> Bart
>
> 2002-08-26 Bart Oldeman <bart.oldeman@btinternet.com>
>
> * include/winsock2.h (SOCKET_ADDRESS): define if
> __CSADDR_T_DEFINED is not defined (copied from nspapi.h). Removed
> FIXME comment.
> (CSADDR_INFO): Ditto.
> * include/nspapi.h (SOCKET_ADDRESS) Only define if
> __CSADDR_T_DEFINED is not defined.
> (CSADDR_INFO): Ditto.
> (BLOB): Added structure and typedef if not already defined.
> (NS_*): Add defines.
> (SERVICE_*): Ditto.
> (SERVICE_ADDRESS): Add structure and typedefs.
> (SERVICE_ADDRESSES): Ditto.
> (SERVICE_INFO[AW]): Ditto, and add UNICODE mappings.
> (LPSERVICE_ASYNC_INFO): Add typedef.
> (SetService[AW], GetAddressByName[AW]): Add prototypes and UNICODE
> mappings.
> * include/wsipx.h: New file.
> * include/svcguid.h: New file.
>
This is fine :). Thanks for persevering.
Danny
http://digital.yahoo.com.au - Yahoo! Digital How To
- Get the best out of your PC!