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
f166a9df
Commit
f166a9df
authored
Aug 12, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Aug 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Implement ws_sockaddr_u2ws for AF_IRDA.
parent
2856794e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
socket.c
dlls/ws2_32/socket.c
+17
-0
No files found.
dlls/ws2_32/socket.c
View file @
f166a9df
...
@@ -1086,6 +1086,23 @@ static int ws_sockaddr_u2ws(const struct sockaddr* uaddr, struct WS_sockaddr* ws
...
@@ -1086,6 +1086,23 @@ static int ws_sockaddr_u2ws(const struct sockaddr* uaddr, struct WS_sockaddr* ws
}
}
break
;
break
;
#endif
#endif
#ifdef HAVE_IRDA
case
AF_IRDA
:
{
const
struct
sockaddr_irda
*
uin
=
(
const
struct
sockaddr_irda
*
)
uaddr
;
SOCKADDR_IRDA
*
win
=
(
SOCKADDR_IRDA
*
)
wsaddr
;
if
(
*
wsaddrlen
<
sizeof
(
SOCKADDR_IRDA
))
return
-
1
;
win
->
irdaAddressFamily
=
WS_AF_IRDA
;
memcpy
(
win
->
irdaDeviceID
,
&
uin
->
sir_addr
,
sizeof
(
win
->
irdaDeviceID
)
);
if
(
uin
->
sir_lsap_sel
!=
LSAP_ANY
)
sprintf
(
win
->
irdaServiceName
,
"LSAP-SEL%u"
,
uin
->
sir_lsap_sel
);
else
memcpy
(
win
->
irdaServiceName
,
uin
->
sir_name
,
sizeof
(
win
->
irdaServiceName
)
);
return
0
;
}
#endif
case
AF_INET6
:
{
case
AF_INET6
:
{
const
struct
sockaddr_in6
*
uin6
=
(
const
struct
sockaddr_in6
*
)
uaddr
;
const
struct
sockaddr_in6
*
uin6
=
(
const
struct
sockaddr_in6
*
)
uaddr
;
struct
WS_sockaddr_in6_old
*
win6old
=
(
struct
WS_sockaddr_in6_old
*
)
wsaddr
;
struct
WS_sockaddr_in6_old
*
win6old
=
(
struct
WS_sockaddr_in6_old
*
)
wsaddr
;
...
...
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