]> git.sesse.net Git - vlc/blob - src/misc/not_specific.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / src / misc / not_specific.c
1 /*****************************************************************************
2  * not_specific.c: stubs for OS-specific initialization
3  *****************************************************************************
4  * Copyright © 2008 Rémi Denis-Courmont
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19  *****************************************************************************/
20
21 #ifdef HAVE_CONFIG_H
22 # include "config.h"
23 #endif
24
25 #include <vlc_common.h>
26 #include "../libvlc.h"
27 #include <pthread.h>
28
29 static void set_libvlc_path (void)
30 {
31     psz_vlcpath = (char *)PKGLIBDIR;
32 }
33
34 void system_Init (libvlc_int_t *libvlc, int *argc, const char *argv[])
35 {
36     pthread_once_t once = PTHREAD_ONCE_INIT;
37
38     pthread_once (&once, set_libvlc_path);
39     (void)libvlc; (void)argc; (void)argv;
40 }
41
42 void system_Configure (libvlc_int_t *libvlc,
43                        int argc, const char *const argv[])
44 {
45     (void)libvlc; (void)argc; (void)argv;
46 }
47
48 void system_End (libvlc_int_t *libvlc)
49 {
50     (void)libvlc;
51 }