Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc
Commits
fa343f78
Commit
fa343f78
authored
Mar 31, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fix
parent
58781daf
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
8 deletions
+7
-8
include/vlc_fs.h
include/vlc_fs.h
+0
-5
include/vlc_network.h
include/vlc_network.h
+5
-0
src/network/httpd.c
src/network/httpd.c
+0
-1
src/network/io.c
src/network/io.c
+0
-1
src/network/tcp.c
src/network/tcp.c
+0
-1
src/text/filesystem.c
src/text/filesystem.c
+2
-0
No files found.
include/vlc_fs.h
View file @
fa343f78
...
...
@@ -54,9 +54,4 @@ VLC_EXPORT( int, vlc_lstat, ( const char *filename, struct stat *buf ) );
VLC_EXPORT
(
int
,
vlc_mkstemp
,
(
char
*
)
);
VLC_EXPORT
(
int
,
vlc_dup
,
(
int
)
);
int
vlc_socket
(
int
,
int
,
int
,
bool
nonblock
)
LIBVLC_USED
;
struct
sockaddr
;
VLC_EXPORT
(
int
,
vlc_accept
,
(
int
,
struct
sockaddr
*
,
socklen_t
*
,
bool
)
LIBVLC_USED
);
#endif
include/vlc_network.h
View file @
fa343f78
...
...
@@ -77,6 +77,11 @@ struct msghdr
# define net_errno errno
#endif
int
vlc_socket
(
int
,
int
,
int
,
bool
nonblock
)
LIBVLC_USED
;
struct
sockaddr
;
VLC_EXPORT
(
int
,
vlc_accept
,
(
int
,
struct
sockaddr
*
,
socklen_t
*
,
bool
)
LIBVLC_USED
);
# ifdef __cplusplus
extern
"C"
{
# endif
...
...
src/network/httpd.c
View file @
fa343f78
...
...
@@ -33,7 +33,6 @@
#include <assert.h>
#include <vlc_network.h>
#include <vlc_fs.h>
#include <vlc_tls.h>
#include <vlc_acl.h>
#include <vlc_strings.h>
...
...
src/network/io.c
View file @
fa343f78
...
...
@@ -52,7 +52,6 @@
#endif
#include <vlc_network.h>
#include <vlc_fs.h>
#ifndef INADDR_ANY
# define INADDR_ANY 0x00000000
...
...
src/network/tcp.c
View file @
fa343f78
...
...
@@ -43,7 +43,6 @@
#endif
#include <vlc_network.h>
#include <vlc_fs.h>
#if defined (WIN32) || defined (UNDER_CE)
# undef EINPROGRESS
# define EINPROGRESS WSAEWOULDBLOCK
...
...
src/text/filesystem.c
View file @
fa343f78
...
...
@@ -617,6 +617,8 @@ int vlc_dup (int oldfd)
return
newfd
;
}
#include <vlc_network.h>
/**
* Creates a socket file descriptor. The new file descriptor has the
* close-on-exec flag set.
...
...
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