Commit 58fdd9ac authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

include: Move some definitions from iptypes.h to nldef.h.

Include nldef.h where appropriate.
parent 4918d914
...@@ -406,6 +406,7 @@ SRCDIR_INCLUDES = \ ...@@ -406,6 +406,7 @@ SRCDIR_INCLUDES = \
msxmldid.h \ msxmldid.h \
nb30.h \ nb30.h \
ndrtypes.h \ ndrtypes.h \
nldef.h \
npapi.h \ npapi.h \
nspapi.h \ nspapi.h \
ntddcdrm.h \ ntddcdrm.h \
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <time.h> #include <time.h>
#include <ifdef.h> #include <ifdef.h>
#include <nldef.h>
#define MAX_ADAPTER_DESCRIPTION_LENGTH 128 #define MAX_ADAPTER_DESCRIPTION_LENGTH 128
#define MAX_ADAPTER_NAME_LENGTH 256 #define MAX_ADAPTER_NAME_LENGTH 256
...@@ -87,32 +88,9 @@ typedef struct { ...@@ -87,32 +88,9 @@ typedef struct {
UINT EnableDns; UINT EnableDns;
} FIXED_INFO, *PFIXED_INFO; } FIXED_INFO, *PFIXED_INFO;
typedef enum { typedef NL_PREFIX_ORIGIN IP_PREFIX_ORIGIN;
IpPrefixOriginOther = 0, typedef NL_SUFFIX_ORIGIN IP_SUFFIX_ORIGIN;
IpPrefixOriginManual, typedef NL_DAD_STATE IP_DAD_STATE;
IpPrefixOriginWellKnown,
IpPrefixOriginDhcp,
IpPrefixOriginRouterAdvertisement,
IpPrefixOriginUnchanged = 16
} IP_PREFIX_ORIGIN;
typedef enum {
IpSuffixOriginOther = 0,
IpSuffixOriginManual,
IpSuffixOriginWellKnown,
IpSuffixOriginDhcp,
IpSuffixOriginLinkLayerAddress,
IpSuffixOriginRandom,
IpSuffixOriginUnchanged = 16
} IP_SUFFIX_ORIGIN;
typedef enum {
IpDadStateInvalid = 0,
IpDadStateTentative,
IpDadStateDuplicate,
IpDadStateDeprecated,
IpDadStatePreferred
} IP_DAD_STATE;
#ifdef _WINSOCK2API_ #ifdef _WINSOCK2API_
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#ifndef __WINE_MSTCPIP_H #ifndef __WINE_MSTCPIP_H
#define __WINE_MSTCPIP_H #define __WINE_MSTCPIP_H
#include <nldef.h>
struct tcp_keepalive struct tcp_keepalive
{ {
ULONG onoff; ULONG onoff;
......
/*
* Copyright (C) 2003 Juan Lang
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_NLDEF_H
#define __WINE_NLDEF_H
typedef enum
{
IpPrefixOriginOther = 0,
IpPrefixOriginManual,
IpPrefixOriginWellKnown,
IpPrefixOriginDhcp,
IpPrefixOriginRouterAdvertisement,
IpPrefixOriginUnchanged = 16,
} NL_PREFIX_ORIGIN;
typedef enum
{
IpSuffixOriginOther = 0,
IpSuffixOriginManual,
IpSuffixOriginWellKnown,
IpSuffixOriginDhcp,
IpSuffixOriginLinkLayerAddress,
IpSuffixOriginRandom,
IpSuffixOriginUnchanged = 16,
} NL_SUFFIX_ORIGIN;
typedef enum
{
IpDadStateInvalid = 0,
IpDadStateTentative,
IpDadStateDuplicate,
IpDadStateDeprecated,
IpDadStatePreferred,
} NL_DAD_STATE;
#endif /* __WINE_NLDEF_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment