1 /*****************************************************************************
2 * version.c: LibVLC version infos
3 *****************************************************************************
4 * Copyright (C) 1998-2008 the VideoLAN team
6 * Authors: Vincent Seguin <seguin@via.ecp.fr>
7 * Samuel Hocevar <sam@zoy.org>
8 * Gildas Bazin <gbazin@videolan.org>
9 * Derk-Jan Hartman <hartman at videolan dot org>
10 * RĂ©mi Denis-Courmont <rem # videolan : org>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
25 *****************************************************************************/
31 #include <vlc_common.h>
33 /*****************************************************************************
34 * VLC_Version: return the libvlc version.
35 *****************************************************************************
36 * This function returns full version string (numeric version and codename).
37 *****************************************************************************/
38 char const * VLC_Version( void )
40 return VERSION_MESSAGE
;
43 /*****************************************************************************
44 * VLC_CompileBy, VLC_CompileHost
45 * VLC_Compiler, VLC_Changeset
46 *****************************************************************************/
47 #define DECLARE_VLC_VERSION( func, var ) \
48 const char * VLC_##func ( void ) \
53 DECLARE_VLC_VERSION( CompileBy
, COMPILE_BY
)
54 DECLARE_VLC_VERSION( CompileHost
, COMPILE_HOST
)
55 DECLARE_VLC_VERSION( Compiler
, COMPILER
)