]> git.sesse.net Git - vlc/blobdiff - include/vlc_tls.h
A bit of vlc/libvlc cleanup:
[vlc] / include / vlc_tls.h
index b9ef4afb88cfcf7af4c80b1de00d404813c8bab7..0472959e40c56489b5272231eecde69ac5d38ffc 100644 (file)
@@ -1,10 +1,10 @@
 /*****************************************************************************
- * tls.c
+ * tls.c: TLS wrapper
  *****************************************************************************
  * Copyright (C) 2004-2005 the VideoLAN team
  * $Id$
  *
- * Authors: Remi Denis-Courmont <rem # videolan.org>
+ * Authors: Rémi Denis-Courmont <rem # videolan.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 #ifndef _VLC_TLS_H
 # define _VLC_TLS_H
 
-# include "network.h"
+# include <vlc_network.h>
 
 struct tls_t
 {
@@ -46,10 +50,10 @@ struct tls_server_t
     void *p_sys;
 
     void (*pf_delete) ( tls_server_t * );
-    
+
     int (*pf_add_CA) ( tls_server_t *, const char * );
     int (*pf_add_CRL) ( tls_server_t *, const char * );
-    
+
     tls_session_t * (*pf_session_prepare) ( tls_server_t * );
 };