[vlc-devel] [PATCH 1/5] tls: allow existing external API to be accessed by other VLC modules

Rémi Denis-Courmont remi at remlab.net
Wed Aug 20 11:29:51 CEST 2014


Le 2014-08-20 11:38, magsoft at videolan.org a écrit :
> From: Felix Paul Kühne <fkuehne at videolan.org>
>
> ---
>  include/vlc_tls.h  | 4 ++--
>  src/libvlccore.sym | 2 ++
>  2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/include/vlc_tls.h b/include/vlc_tls.h
> index e9db9cc..e79c1eb 100644
> --- a/include/vlc_tls.h
> +++ b/include/vlc_tls.h
> @@ -47,8 +47,8 @@ struct vlc_tls
>
>  VLC_API vlc_tls_t *vlc_tls_ClientSessionCreate (vlc_tls_creds_t *, 
> int fd,
>                                          const char *host, const char
> *service);
> -vlc_tls_t *vlc_tls_SessionCreate (vlc_tls_creds_t *, int fd, const
> char *host);
> -int vlc_tls_SessionHandshake (vlc_tls_t *, const char *host, const
> char *serv);
> +VLC_API vlc_tls_t *vlc_tls_SessionCreate (vlc_tls_creds_t *, int fd,
> const char *host);
> +VLC_API int vlc_tls_SessionHandshake (vlc_tls_t *, const char *host,
> const char *serv);
>  VLC_API void vlc_tls_SessionDelete (vlc_tls_t *);

What's the point of this? It seems like it will only result in 
duplication of the existing vlc_tls_ClientCreate() function.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list