Commit e9947bec authored by Clément Stenac's avatar Clément Stenac

Split libvlc.c:

* instances creation/deletion stuff to libvlc-common.c
* implementation of the old libvlc API to libvlc.c
parent fcfc11bd
...@@ -31,6 +31,21 @@ extern "C" { ...@@ -31,6 +31,21 @@ extern "C" {
#include <vlc/vlc.h> #include <vlc/vlc.h>
/***************************************************************************
* Internal creation and destruction functions
***************************************************************************/
libvlc_int_t *libvlc_InternalCreate();
int libvlc_InternalInit( libvlc_int_t *, int, char *ppsz_argv[] );
int libvlc_InternalCleanup( libvlc_int_t * );
int libvlc_InternalDestroy( libvlc_int_t *, vlc_bool_t );
int libvlc_InternalAddIntf( libvlc_int_t *, char const *, vlc_bool_t,
vlc_bool_t, int, char ** );
/***************************************************************************
* Opaque structures for libvlc API
***************************************************************************/
struct libvlc_instance_t struct libvlc_instance_t
{ {
libvlc_int_t *p_libvlc_int; libvlc_int_t *p_libvlc_int;
......
...@@ -252,6 +252,7 @@ SOURCES_libvlc_getopt = \ ...@@ -252,6 +252,7 @@ SOURCES_libvlc_getopt = \
SOURCES_libvlc_common = \ SOURCES_libvlc_common = \
libvlc.c \ libvlc.c \
libvlc-common.c \
libvlc.h \ libvlc.h \
interface/interface.c \ interface/interface.c \
interface/intf_eject.c \ interface/intf_eject.c \
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment