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
b2962fb8
Commit
b2962fb8
authored
Aug 19, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Aug 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wpcap: Implement wsockinit.
parent
f0f57c22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
Makefile.in
dlls/wpcap/Makefile.in
+1
-0
wpcap.c
dlls/wpcap/wpcap.c
+9
-0
wpcap.spec
dlls/wpcap/wpcap.spec
+1
-1
No files found.
dlls/wpcap/Makefile.in
View file @
b2962fb8
MODULE
=
wpcap.dll
DELAYIMPORTS
=
ws2_32
EXTRALIBS
=
@LIBPCAP@
C_SRCS
=
\
...
...
dlls/wpcap/wpcap.c
View file @
b2962fb8
...
...
@@ -19,6 +19,7 @@
*/
#include <pcap/pcap.h>
#include "winsock2.h"
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
...
...
@@ -273,3 +274,11 @@ int CDECL wine_pcap_stats(pcap_t *p, struct pcap_stat *ps)
TRACE
(
"(%p %p)
\n
"
,
p
,
ps
);
return
pcap_stats
(
p
,
ps
);
}
int
CDECL
wine_wsockinit
(
void
)
{
WSADATA
wsadata
;
TRACE
(
"()
\n
"
);
if
(
WSAStartup
(
MAKEWORD
(
1
,
1
),
&
wsadata
))
return
-
1
;
return
0
;
}
dlls/wpcap/wpcap.spec
View file @
b2962fb8
...
...
@@ -75,4 +75,4 @@
@ cdecl pcap_stats(ptr ptr) wine_pcap_stats
@ stub pcap_stats_ex
@ stub pcap_strerror
@
stub
wsockinit
@
cdecl wsockinit() wine_
wsockinit
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