Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
15c3e9e9
Commit
15c3e9e9
authored
Apr 12, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused vlc_(send|recv)msg
parent
74eba5d8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
23 deletions
+2
-23
include/vlc_network.h
include/vlc_network.h
+0
-6
src/libvlccore.sym
src/libvlccore.sym
+0
-2
src/network/io.c
src/network/io.c
+0
-15
src/network/winsock.c
src/network/winsock.c
+2
-0
No files found.
include/vlc_network.h
View file @
15c3e9e9
...
...
@@ -60,9 +60,6 @@ struct msghdr
int
msg_flags
;
};
#define sendmsg vlc_sendmsg
#define recvmsg vlc_recvmsg
# ifndef IPV6_V6ONLY
# define IPV6_V6ONLY 27
# endif
...
...
@@ -80,9 +77,6 @@ struct msghdr
# define net_errno errno
#endif
VLC_EXPORT
(
ssize_t
,
vlc_sendmsg
,
(
int
,
struct
msghdr
*
,
int
)
);
VLC_EXPORT
(
ssize_t
,
vlc_recvmsg
,
(
int
,
struct
msghdr
*
,
int
)
);
# ifdef __cplusplus
extern
"C"
{
# endif
...
...
src/libvlccore.sym
View file @
15c3e9e9
...
...
@@ -475,7 +475,6 @@ __vlc_object_set_destructor
vlc_plugin_set
vlc_poll
vlc_rand_bytes
vlc_recvmsg
vlc_release
vlc_restorecancel
vlc_savecancel
...
...
@@ -484,7 +483,6 @@ vlc_sd_GetNames
vlc_sdp_Start
vlc_sd_Start
vlc_sd_Stop
vlc_sendmsg
vlc_testcancel
vlc_thread_create
__vlc_thread_join
...
...
src/network/io.c
View file @
15c3e9e9
...
...
@@ -564,18 +564,3 @@ ssize_t __net_vaPrintf( vlc_object_t *p_this, int fd, const v_socket_t *p_vs,
return
i_ret
;
}
#ifdef WIN32
/* vlc_sendmsg, vlc_recvmsg Defined in winsock.c */
#else
/* !WIN32 */
ssize_t
vlc_sendmsg
(
int
s
,
struct
msghdr
*
hdr
,
int
flags
)
{
return
sendmsg
(
s
,
hdr
,
flags
);
}
ssize_t
vlc_recvmsg
(
int
s
,
struct
msghdr
*
hdr
,
int
flags
)
{
return
recvmsg
(
s
,
hdr
,
flags
);
}
#endif
/* WIN32 */
src/network/winsock.c
View file @
15c3e9e9
...
...
@@ -148,6 +148,7 @@ const char *net_strerror( int value )
return
"Unknown network stack error"
;
}
#if 0
ssize_t vlc_sendmsg (int s, struct msghdr *hdr, int flags)
{
/* WSASendMsg would be more straightforward, and would support ancilliary
...
...
@@ -208,3 +209,4 @@ ssize_t vlc_recvmsg (int s, struct msghdr *hdr, int flags)
#endif
return
-
1
;
}
#endif
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