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
ca1aa1cf
Commit
ca1aa1cf
authored
Aug 10, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Aug 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wpcap: Implement pcap_findalldevs.
parent
0cbd82f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
wpcap.c
dlls/wpcap/wpcap.c
+13
-0
wpcap.spec
dlls/wpcap/wpcap.spec
+1
-1
No files found.
dlls/wpcap/wpcap.c
View file @
ca1aa1cf
...
...
@@ -22,6 +22,19 @@
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wpcap
);
WINE_DECLARE_DEBUG_CHANNEL
(
winediag
);
int
CDECL
wine_pcap_findalldevs
(
pcap_if_t
**
alldevsp
,
char
*
errbuf
)
{
int
ret
;
TRACE
(
"(%p %p)
\n
"
,
alldevsp
,
errbuf
);
ret
=
pcap_findalldevs
(
alldevsp
,
errbuf
);
if
(
alldevsp
&&
!*
alldevsp
)
ERR_
(
winediag
)(
"Failed to access raw network (pcap), this requires special permissions.
\n
"
);
return
ret
;
}
const
char
*
CDECL
wine_pcap_lib_version
(
void
)
{
...
...
dlls/wpcap/wpcap.spec
View file @
ca1aa1cf
...
...
@@ -24,7 +24,7 @@
@ stub pcap_dump_open
@ stub pcap_file
@ stub pcap_fileno
@
stub
pcap_findalldevs
@
cdecl pcap_findalldevs(ptr str) wine_
pcap_findalldevs
@ stub pcap_findalldevs_ex
@ stub pcap_freealldevs
@ stub pcap_freecode
...
...
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