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" {
#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
{
libvlc_int_t *p_libvlc_int;
......
......@@ -252,6 +252,7 @@ SOURCES_libvlc_getopt = \
SOURCES_libvlc_common = \
libvlc.c \
libvlc-common.c \
libvlc.h \
interface/interface.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