]> git.sesse.net Git - vlc/blobdiff - src/control/core.c
libvlc: add functions libvlc_get_version() and others
[vlc] / src / control / core.c
index 08f550b61229261a10840a3e60f8451f6ed90845..6bd45261d032a1f5c7bad72a91a730545d8a414c 100644 (file)
@@ -20,6 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
+
 #include "libvlc_internal.h"
 #include <vlc/libvlc.h>
 
@@ -173,3 +174,18 @@ int libvlc_get_vlc_id( libvlc_instance_t *p_instance )
 {
     return p_instance->p_libvlc_int->i_object_id;
 }
+
+const char * libvlc_get_version()
+{
+    return VLC_Version();
+}
+
+const char * libvlc_get_compiler()
+{
+    return VLC_Compiler();
+}
+
+const char * libvlc_get_changeset()
+{
+    return VLC_Changeset();
+}