]> git.sesse.net Git - vlc/commitdiff
Support for creating TLS objects
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 6 Nov 2004 10:47:04 +0000 (10:47 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 6 Nov 2004 10:47:04 +0000 (10:47 +0000)
src/misc/objects.c

index 4468182f32b2a62b0138c5319a4c6e3030854ee8..a8bc6cde2e9735cd721ff64d7ec48d43879bc877 100644 (file)
@@ -53,6 +53,7 @@
 #include "vlc_httpd.h"
 #include "vlc_vlm.h"
 #include "vlc_vod.h"
+#include "vlc_tls.h"
 
 /*****************************************************************************
  * Local prototypes
@@ -185,6 +186,10 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
             i_size = sizeof( vod_t );
             psz_type = "vod server";
             break;
+        case VLC_OBJECT_TLS:
+            i_size = sizeof( tls_t );
+            psz_type = "tls";
+            break;
         case VLC_OBJECT_OPENGL:
             i_size = sizeof( vout_thread_t );
             psz_type = "opengl provider";