]> git.sesse.net Git - vlc/blobdiff - src/input/resource.h
Made object created by input_resource attached to a high level object.
[vlc] / src / input / resource.h
index 431c237e32d1decaa0a46bd71c9807210c596db7..d8b45f2ed7c33100238a4ce49928d0c05ddf9d2b 100644 (file)
 
 #include <vlc_common.h>
 
-/**
- * This function creates an empty input_resource_t.
- */
-input_resource_t *input_resource_New( void );
-
 /**
  * This function set the associated input.
  */
 void input_resource_SetInput( input_resource_t *, input_thread_t * );
 
-/**
- * This function return a input_resource_t with all resources detach from the
- * given input_resource_t.
- * It must not be associated to an input.
- */
-input_resource_t *input_resource_Detach( input_resource_t * );
-
 /**
  * This function handles sout request.
  */
@@ -83,5 +71,10 @@ vout_thread_t *input_resource_HoldVout( input_resource_t * );
  */
 void input_resource_HoldVouts( input_resource_t *, vout_thread_t ***, size_t * );
 
+/**
+ * This function releases all resources (object).
+ */
+void input_resource_Terminate( input_resource_t * );
+
 #endif