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

Adrien Maglo magsoft at videolan.org
Fri Aug 1 11:22:06 CEST 2014


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 *);
 
 /* NOTE: It is assumed that a->sock.p_sys = a */
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 1b9973e..9e044bd 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -415,6 +415,8 @@ subpicture_region_ChainDelete
 subpicture_region_Delete
 subpicture_region_New
 vlc_tls_ClientCreate
+vlc_tls_SessionCreate
+vlc_tls_SessionHandshake
 vlc_tls_Delete
 vlc_tls_ClientSessionCreate
 vlc_tls_SessionDelete
-- 
1.9.1




More information about the vlc-devel mailing list