]> git.sesse.net Git - vlc/blobdiff - include/vlc_tls.h
Remove object type field
[vlc] / include / vlc_tls.h
index 7bf3500fca7cd75703169e569798af6384b0d774..cff6b6f3cd71a769fc0a0695e5be0f0ae3baa84b 100644 (file)
 #ifndef VLC_TLS_H
 # define VLC_TLS_H
 
+/**
+ * \file
+ * This file defines Transport Layer Security API (TLS) in vlc
+ */
+
 # include <vlc_network.h>
 
 typedef struct tls_server_sys_t tls_server_sys_t;
@@ -67,8 +72,8 @@ int tls_ServerSessionHandshake (tls_session_t *, int fd);
 int tls_SessionContinueHandshake (tls_session_t *);
 void tls_ServerSessionClose (tls_session_t *);
 
-VLC_EXPORT( tls_session_t *, tls_ClientCreate, ( vlc_object_t *, int, const char * ) );
-VLC_EXPORT( void, tls_ClientDelete, ( tls_session_t * ) );
+VLC_API tls_session_t * tls_ClientCreate( vlc_object_t *, int, const char * );
+VLC_API void tls_ClientDelete( tls_session_t * );
 
 /* NOTE: It is assumed that a->sock.p_sys = a */
 # define tls_Send( a, b, c ) (((tls_session_t *)a)->sock.pf_send (a, b, c ))