#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;
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 ))