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
98e742cd
Commit
98e742cd
authored
May 23, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
un-re-un-export net_ConvertIPv4
(it's obsolete and not used by any module anyway)
parent
d519788c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
include/network.h
include/network.h
+0
-2
src/misc/net.c
src/misc/net.c
+2
-1
No files found.
include/network.h
View file @
98e742cd
...
@@ -273,8 +273,6 @@ static inline char *vlc_b64_encode( char *src )
...
@@ -273,8 +273,6 @@ static inline char *vlc_b64_encode( char *src )
#define net_OpenTCP(a, b, c) __net_OpenTCP(VLC_OBJECT(a), b, c)
#define net_OpenTCP(a, b, c) __net_OpenTCP(VLC_OBJECT(a), b, c)
VLC_EXPORT
(
int
,
__net_OpenTCP
,
(
vlc_object_t
*
p_this
,
const
char
*
psz_host
,
int
i_port
)
);
VLC_EXPORT
(
int
,
__net_OpenTCP
,
(
vlc_object_t
*
p_this
,
const
char
*
psz_host
,
int
i_port
)
);
VLC_EXPORT
(
int
,
net_ConvertIPv4
,
(
uint32_t
*
p_addr
,
const
char
*
psz_address
)
);
#define net_ListenTCP(a, b, c) __net_ListenTCP(VLC_OBJECT(a), b, c)
#define net_ListenTCP(a, b, c) __net_ListenTCP(VLC_OBJECT(a), b, c)
VLC_EXPORT
(
int
*
,
__net_ListenTCP
,
(
vlc_object_t
*
,
const
char
*
,
int
)
);
VLC_EXPORT
(
int
*
,
__net_ListenTCP
,
(
vlc_object_t
*
,
const
char
*
,
int
)
);
...
...
src/misc/net.c
View file @
98e742cd
...
@@ -81,8 +81,9 @@ static int SocksHandshakeTCP( vlc_object_t *,
...
@@ -81,8 +81,9 @@ static int SocksHandshakeTCP( vlc_object_t *,
* net_ConvertIPv4:
* net_ConvertIPv4:
*****************************************************************************
*****************************************************************************
* Open a TCP connection and return a handle
* Open a TCP connection and return a handle
* FIXME: not thread-safe, should use vlc_getaddrinfo instead
*****************************************************************************/
*****************************************************************************/
int
net_ConvertIPv4
(
uint32_t
*
p_addr
,
const
char
*
psz_address
)
static
int
net_ConvertIPv4
(
uint32_t
*
p_addr
,
const
char
*
psz_address
)
{
{
/* Reset struct */
/* Reset struct */
if
(
!*
psz_address
)
if
(
!*
psz_address
)
...
...
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