Changeset 6db16f08c744e65a458764c114feef1926cb0f11
- Timestamp:
- 30/03/08 17:32:20
(8 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1206891140 +0200
- git-parent:
[ef81e665be4bf3a169443a8af0cce89af39ce4de]
- git-author:
- Tanguy Krotoff <tkrotoff@gmail.com> 1206889070 +0200
- Message:
libvlc: add functions libvlc_get_version() and others
Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rbf1292e |
r6db16f0 |
|
| 145 | 145 | */ |
|---|
| 146 | 146 | VLC_PUBLIC_API void libvlc_retain( libvlc_instance_t * ); |
|---|
| | 147 | |
|---|
| | 148 | /** |
|---|
| | 149 | * Retrieve libvlc version. |
|---|
| | 150 | * |
|---|
| | 151 | * Example: "0.9.0-git Grishenko" |
|---|
| | 152 | * |
|---|
| | 153 | * \return a string containing the libvlc version |
|---|
| | 154 | */ |
|---|
| | 155 | VLC_PUBLIC_API const char * libvlc_get_version(); |
|---|
| | 156 | |
|---|
| | 157 | /** |
|---|
| | 158 | * Retrieve libvlc compiler version. |
|---|
| | 159 | * |
|---|
| | 160 | * Example: "gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu6)" |
|---|
| | 161 | * |
|---|
| | 162 | * \return a string containing the libvlc compiler version |
|---|
| | 163 | */ |
|---|
| | 164 | VLC_PUBLIC_API const char * libvlc_get_compiler(); |
|---|
| | 165 | |
|---|
| | 166 | /** |
|---|
| | 167 | * Retrieve libvlc changeset. |
|---|
| | 168 | * |
|---|
| | 169 | * Example: "aa9bce0bc4" |
|---|
| | 170 | * |
|---|
| | 171 | * \return a string containing the libvlc changeset |
|---|
| | 172 | */ |
|---|
| | 173 | VLC_PUBLIC_API const char * libvlc_get_changeset(); |
|---|
| 147 | 174 | |
|---|
| 148 | 175 | /** @}*/ |
|---|
| r99a25fe |
r6db16f0 |
|
| 21 | 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. |
|---|
| 22 | 22 | *****************************************************************************/ |
|---|
| | 23 | |
|---|
| 23 | 24 | #include "libvlc_internal.h" |
|---|
| 24 | 25 | #include <vlc/libvlc.h> |
|---|
| … | … | |
| 174 | 175 | return p_instance->p_libvlc_int->i_object_id; |
|---|
| 175 | 176 | } |
|---|
| | 177 | |
|---|
| | 178 | const char * libvlc_get_version() |
|---|
| | 179 | { |
|---|
| | 180 | return VLC_Version(); |
|---|
| | 181 | } |
|---|
| | 182 | |
|---|
| | 183 | const char * libvlc_get_compiler() |
|---|
| | 184 | { |
|---|
| | 185 | return VLC_Compiler(); |
|---|
| | 186 | } |
|---|
| | 187 | |
|---|
| | 188 | const char * libvlc_get_changeset() |
|---|
| | 189 | { |
|---|
| | 190 | return VLC_Changeset(); |
|---|
| | 191 | } |
|---|