[vlc-devel] CVS Commit (sam)

cvs at videolan.org cvs at videolan.org
Sat Oct 12 00:32:56 CEST 2002

Update of /var/cvs/videolan/vlc
Modified Files:
	Makefile.am configure.ac.in 

Update of /var/cvs/videolan/vlc/include
Modified Files:
	interface.h vlc_common.h vlc_objects.h 

Update of /var/cvs/videolan/vlc/include/vlc
Modified Files:

Update of /var/cvs/videolan/vlc/modules/control/rc
Modified Files:

Update of /var/cvs/videolan/vlc/mozilla
Modified Files:
	vlcpeer.cpp vlcplugin.h vlcshell.cpp 

Update of /var/cvs/videolan/vlc/src
Modified Files:
	libvlc.c vlc.c 

Update of /var/cvs/videolan/vlc/src/interface
Modified Files:

Update of /var/cvs/videolan/vlc/src/misc
Modified Files:

Log Message:
Changes to the libvlc API:
  * ./include/vlc/vlc.h: changed the naming conventions for libvlc. Now
    exported functions start with VLC_ instead of vlc_ to avoid conflicts.
  * ./include/vlc/vlc.h: removed the vlc_object_t, vlc_list_t, vlc_error_t
    and vlc_t types; they are now internal types only.
  * ./include/vlc/vlc.h: merged the reentrant and non-reentrant libvlc
    calls. In non-reentrant mode, we just use 0 as the first argument. In
    reentrant mode, we use an object's ID. (see below)

Internal changes:
  * ./src/libvlc.c, ./src/misc/objects.c: instead of manipulating vlc_object_t
    pointers, we manipulate their i_object_id. When needed, an object is
    retrieved using vlc_object_get (I hope the lookup isn't too expensive,
    that's why I designed the pp_objects layout to allow log2(n) seeks).
  * ./src/misc/objects.c: activated the per-object variable storage. Unused
    yet, unless you want to try "getfoo" and "setfoo blablah" in vlc -I rc.
  * ./include/vlc_objects.h: moved the vlc_object_t and vlc_list_t definitions

  * ./src/vlc.c, ./mozilla/vlcshell.cpp: removed inclusion of config.h in
    code portions not part of libvlc; it was just required for the
    COPYRIGHT_MESSAGE string which is now available from VLC_Version().

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list