Browse Source

Split libvlc.c:

* instances creation/deletion stuff to libvlc-common.c
* implementation of the old libvlc API to libvlc.c
pull/2/head
Clément Stenac 20 years ago
parent
commit
e9947bec0a
  1. 15
      include/libvlc_internal.h
  2. 1
      src/Makefile.am
  3. 1650
      src/libvlc-common.c
  4. 1781
      src/libvlc.c

15
include/libvlc_internal.h

@ -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;

1
src/Makefile.am

@ -252,6 +252,7 @@ SOURCES_libvlc_getopt = \
SOURCES_libvlc_common = \
libvlc.c \
libvlc-common.c \
libvlc.h \
interface/interface.c \
interface/intf_eject.c \

1650
src/libvlc-common.c

File diff suppressed because it is too large

1781
src/libvlc.c

File diff suppressed because it is too large
Loading…
Cancel
Save