Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a17f55f2
Commit
a17f55f2
authored
Nov 13, 2022
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Add in[46]addr_* constants to import library.
Needed to compile Tera Term.
parent
dc7f9728
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
79 additions
and
0 deletions
+79
-0
Makefile.in
dlls/ws2_32/Makefile.in
+1
-0
inaddr.c
dlls/ws2_32/inaddr.c
+52
-0
ws2ipdef.h
include/ws2ipdef.h
+26
-0
No files found.
dlls/ws2_32/Makefile.in
View file @
a17f55f2
...
...
@@ -5,6 +5,7 @@ DELAYIMPORTS = dnsapi advapi32 iphlpapi user32
C_SRCS
=
\
async.c
\
inaddr.c
\
protocol.c
\
socket.c
\
unixlib.c
...
...
dlls/ws2_32/inaddr.c
0 → 100644
View file @
a17f55f2
/*
* ws2_32 static library constants
*
* Copyright 2022 Alex Henrie
*
* 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
*/
#if 0
#pragma makedep implib
#endif
#include "winsock2.h"
#include "mstcpip.h"
#include "ws2ipdef.h"
const
IN_ADDR
in4addr_alligmpv3routersonlink
=
{{
IN4ADDR_ALLIGMPV3ROUTERSONLINK_INIT
}};
const
IN_ADDR
in4addr_allnodesonlink
=
{{
IN4ADDR_ALLNODESONLINK_INIT
}};
const
IN_ADDR
in4addr_allroutersonlink
=
{{
IN4ADDR_ALLROUTERSONLINK_INIT
}};
const
IN_ADDR
in4addr_allteredohostsonlink
=
{{
IN4ADDR_ALLTEREDONODESONLINK_INIT
}};
const
IN_ADDR
in4addr_any
=
{{
IN4ADDR_ANY_INIT
}};
const
IN_ADDR
in4addr_broadcast
=
{{
IN4ADDR_BROADCAST_INIT
}};
const
IN_ADDR
in4addr_linklocalprefix
=
{{
IN4ADDR_LINKLOCALPREFIX_INIT
}};
const
IN_ADDR
in4addr_loopback
=
{{
IN4ADDR_LOOPBACK_INIT
}};
const
IN_ADDR
in4addr_multicastprefix
=
{{
IN4ADDR_MULTICASTPREFIX_INIT
}};
const
IN6_ADDR
in6addr_6to4prefix
=
{{
IN6ADDR_6TO4PREFIX_INIT
}};
const
IN6_ADDR
in6addr_allmldv2routersonlink
=
{{
IN6ADDR_ALLMLDV2ROUTERSONLINK_INIT
}};
const
IN6_ADDR
in6addr_allnodesonlink
=
{{
IN6ADDR_ALLNODESONLINK_INIT
}};
const
IN6_ADDR
in6addr_allnodesonnode
=
{{
IN6ADDR_ALLNODESONNODE_INIT
}};
const
IN6_ADDR
in6addr_allroutersonlink
=
{{
IN6ADDR_ALLROUTERSONLINK_INIT
}};
const
IN6_ADDR
in6addr_any
=
{{
IN6ADDR_ANY_INIT
}};
const
IN6_ADDR
in6addr_linklocalprefix
=
{{
IN6ADDR_LINKLOCALPREFIX_INIT
}};
const
IN6_ADDR
in6addr_loopback
=
{{
IN6ADDR_LOOPBACK_INIT
}};
const
IN6_ADDR
in6addr_multicastprefix
=
{{
IN6ADDR_MULTICASTPREFIX_INIT
}};
const
IN6_ADDR
in6addr_solicitednodemulticastprefix
=
{{
IN6ADDR_SOLICITEDNODEMULTICASTPREFIX_INIT
}};
const
IN6_ADDR
in6addr_teredoinitiallinklocaladdress
=
{{
IN6ADDR_TEREDOINITIALLINKLOCALADDRESS_INIT
}};
const
IN6_ADDR
in6addr_teredoprefix
=
{{
IN6ADDR_TEREDOPREFIX_INIT
}};
const
IN6_ADDR
in6addr_teredoprefix_old
=
{{
IN6ADDR_TEREDOPREFIX_INIT_OLD
}};
const
IN6_ADDR
in6addr_v4mappedprefix
=
{{
IN6ADDR_V4MAPPEDPREFIX_INIT
}};
include/ws2ipdef.h
View file @
a17f55f2
...
...
@@ -386,6 +386,32 @@ typedef struct WS(in6_pktinfo) {
#define WS_SIO_IDEAL_SEND_BACKLOG_QUERY WS__IOR('t', 123, ULONG)
#endif
#ifndef USE_WS_PREFIX
extern
const
IN_ADDR
in4addr_alligmpv3routersonlink
;
extern
const
IN_ADDR
in4addr_allnodesonlink
;
extern
const
IN_ADDR
in4addr_allroutersonlink
;
extern
const
IN_ADDR
in4addr_allteredohostsonlink
;
extern
const
IN_ADDR
in4addr_any
;
extern
const
IN_ADDR
in4addr_broadcast
;
extern
const
IN_ADDR
in4addr_linklocalprefix
;
extern
const
IN_ADDR
in4addr_loopback
;
extern
const
IN_ADDR
in4addr_multicastprefix
;
extern
const
IN6_ADDR
in6addr_6to4prefix
;
extern
const
IN6_ADDR
in6addr_allmldv2routersonlink
;
extern
const
IN6_ADDR
in6addr_allnodesonlink
;
extern
const
IN6_ADDR
in6addr_allnodesonnode
;
extern
const
IN6_ADDR
in6addr_allroutersonlink
;
extern
const
IN6_ADDR
in6addr_any
;
extern
const
IN6_ADDR
in6addr_linklocalprefix
;
extern
const
IN6_ADDR
in6addr_loopback
;
extern
const
IN6_ADDR
in6addr_multicastprefix
;
extern
const
IN6_ADDR
in6addr_solicitednodemulticastprefix
;
extern
const
IN6_ADDR
in6addr_teredoinitiallinklocaladdress
;
extern
const
IN6_ADDR
in6addr_teredoprefix
;
extern
const
IN6_ADDR
in6addr_teredoprefix_old
;
extern
const
IN6_ADDR
in6addr_v4mappedprefix
;
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
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