Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
14dd475c
Commit
14dd475c
authored
Aug 18, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add const
parent
28e3ebd4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
include/network.h
include/network.h
+1
-1
include/vlc_symbols.h
include/vlc_symbols.h
+1
-1
src/misc/net.c
src/misc/net.c
+1
-1
No files found.
include/network.h
View file @
14dd475c
...
...
@@ -368,7 +368,7 @@ VLC_EXPORT( int, __net_ReadNonBlock, ( vlc_object_t *p_this, int fd, v_socket_t
VLC_EXPORT
(
int
,
__net_Select
,
(
vlc_object_t
*
p_this
,
int
*
pi_fd
,
v_socket_t
**
,
int
i_fd
,
uint8_t
*
p_data
,
int
i_data
,
mtime_t
i_wait
)
);
#define net_Write(a,b,c,d,e) __net_Write(VLC_OBJECT(a),b,c,d,e)
VLC_EXPORT
(
int
,
__net_Write
,
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
,
uint8_t
*
p_data
,
int
i_data
)
);
VLC_EXPORT
(
int
,
__net_Write
,
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
,
const
uint8_t
*
p_data
,
int
i_data
)
);
#define net_Gets(a,b,c) __net_Gets(VLC_OBJECT(a),b,c)
VLC_EXPORT
(
char
*
,
__net_Gets
,
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
)
);
...
...
include/vlc_symbols.h
View file @
14dd475c
...
...
@@ -97,7 +97,7 @@ struct module_symbols_t
int
(
*
__net_Read_inner
)
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
,
uint8_t
*
p_data
,
int
i_data
,
vlc_bool_t
b_retry
);
int
(
*
__net_ReadNonBlock_inner
)
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
,
uint8_t
*
p_data
,
int
i_data
,
mtime_t
i_wait
);
int
(
*
__net_Select_inner
)
(
vlc_object_t
*
p_this
,
int
*
pi_fd
,
v_socket_t
**
,
int
i_fd
,
uint8_t
*
p_data
,
int
i_data
,
mtime_t
i_wait
);
int
(
*
__net_Write_inner
)
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
,
uint8_t
*
p_data
,
int
i_data
);
int
(
*
__net_Write_inner
)
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
,
const
uint8_t
*
p_data
,
int
i_data
);
char
*
(
*
__net_Gets_inner
)
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
);
int
(
*
net_Printf_inner
)
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
,
const
char
*
psz_fmt
,
...);
int
(
*
__net_vaPrintf_inner
)
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
,
const
char
*
psz_fmt
,
va_list
args
);
...
...
src/misc/net.c
View file @
14dd475c
...
...
@@ -875,7 +875,7 @@ int __net_Select( vlc_object_t *p_this, int *pi_fd, v_socket_t **pp_vs,
/* Write exact amount requested */
int
__net_Write
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
p_vs
,
uint8_t
*
p_data
,
int
i_data
)
const
uint8_t
*
p_data
,
int
i_data
)
{
struct
timeval
timeout
;
fd_set
fds_w
,
fds_e
;
...
...
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