Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
5b29ca21
Commit
5b29ca21
authored
Jul 09, 2020
by
Nirbheek Chauhan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interfaces: Remove unused win32 code
parent
80dc194f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
36 deletions
+0
-36
agent/interfaces.c
agent/interfaces.c
+0
-36
No files found.
agent/interfaces.c
View file @
5b29ca21
...
@@ -497,42 +497,6 @@ nice_interfaces_get_ip_for_interface (gchar *interface_name)
...
@@ -497,42 +497,6 @@ nice_interfaces_get_ip_for_interface (gchar *interface_name)
#define MIB_IPADDR_DELETED 0x0040
#define MIB_IPADDR_DELETED 0x0040
#endif
#endif
#if 0
static gboolean started_wsa_engine = FALSE;
/*
* private function that initializes the WinSock engine and
* returns a prebuilt socket
*/
SOCKET nice_interfaces_get_WSA_socket ()
{
WORD wVersionRequested;
WSADATA wsaData;
int err;
SOCKET sock;
if (started_wsa_engine == FALSE) {
wVersionRequested = MAKEWORD ( 2, 0 );
err = WSAStartup ( wVersionRequested, &wsaData );
if ( err != 0 ) {
nice_debug ("Error : Could not start the winsocket engine");
return INVALID_SOCKET;
}
started_wsa_engine = TRUE;
}
if ((sock = socket (AF_INET, SOCK_DGRAM, 0)) == INVALID_SOCKET) {
nice_debug ("Error : Could not open socket to retrieve interface list,"
" error no : %d", WSAGetLastError ());
return INVALID_SOCKET;
}
return sock;
}
#endif
GList
*
nice_interfaces_get_local_interfaces
(
void
)
GList
*
nice_interfaces_get_local_interfaces
(
void
)
{
{
ULONG
size
=
0
;
ULONG
size
=
0
;
...
...
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