Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
58fdd9ac
Commit
58fdd9ac
authored
Dec 13, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Move some definitions from iptypes.h to nldef.h.
Include nldef.h where appropriate.
parent
4918d914
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
26 deletions
+58
-26
Makefile.in
include/Makefile.in
+1
-0
iptypes.h
include/iptypes.h
+4
-26
mstcpip.h
include/mstcpip.h
+2
-0
nldef.h
include/nldef.h
+51
-0
No files found.
include/Makefile.in
View file @
58fdd9ac
...
@@ -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
\
...
...
include/iptypes.h
View file @
58fdd9ac
...
@@ -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_
...
...
include/mstcpip.h
View file @
58fdd9ac
...
@@ -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
;
...
...
include/nldef.h
0 → 100644
View file @
58fdd9ac
/*
* 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 */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment