VLC 4.0.0-dev
|
Macros | |
#define | GENERIC_DIR_COUNT (VLC_SNAPSHOTS_DIR - VLC_DESKTOP_DIR + 1) |
Functions | |
static char * | get_java_string (JNIEnv *env, jclass clazz, const char *psz_name) |
void | JNI_OnUnload (JavaVM *vm, void *reserved) |
jint | JNI_OnLoad (JavaVM *vm, void *reserved) |
void | system_Init (void) |
void | system_Configure (libvlc_int_t *p_libvlc, int i_argc, const char *const pp_argv[]) |
static char * | config_GetHomeDir (const char *psz_dir, const char *psz_default_dir) |
static JNIEnv * | get_env (bool *p_detach) |
static void | release_env (bool b_detach) |
static char * | config_GetGenericDir (const char *psz_name) |
char * | platform_GetUserDir (vlc_userdir_t type) |
char * | config_GetSysPath (vlc_sysdir_t type, const char *filename) |
Gets an installation directory. | |
char * | vlc_getProxyUrl (const char *url) |
Determines the network proxy server to use (if any). | |
Variables | ||
static JavaVM * | s_jvm = NULL | |
static char * | ppsz_generic_names [(VLC_SNAPSHOTS_DIR - VLC_DESKTOP_DIR+1)] = {} | |
struct { | ||
struct { | ||
jclass clazz | ||
jmethodID getExternalStoragePublicDirectory | ||
} Environment | ||
struct { | ||
jmethodID getAbsolutePath | ||
} File | ||
struct { | ||
jclass clazz | ||
jmethodID getProperty | ||
} System | ||
} | fields = { .Environment.clazz = NULL } | |
#define GENERIC_DIR_COUNT (VLC_SNAPSHOTS_DIR - VLC_DESKTOP_DIR + 1) |
|
static |
References fields, get_env(), psz_name, release_env(), and strdup().
Referenced by platform_GetUserDir().
|
static |
References asprintf(), getenv(), strdup(), and vlc_mkdir().
|
static |
References s_jvm.
Referenced by config_GetGenericDir(), and vlc_getProxyUrl().
|
static |
References clazz, psz_name, and strdup().
Referenced by JNI_OnLoad().
jint JNI_OnLoad | ( | JavaVM * | vm, |
void * | reserved | ||
) |
References clazz, fields, GENERIC_DIR_COUNT, get_java_string(), JNI_OnUnload(), ppsz_generic_names, and s_jvm.
void JNI_OnUnload | ( | JavaVM * | vm, |
void * | reserved | ||
) |
References fields, GENERIC_DIR_COUNT, and ppsz_generic_names.
Referenced by JNI_OnLoad().
char * platform_GetUserDir | ( | vlc_userdir_t | type | ) |
References config_GetGenericDir(), config_GetHomeDir(), ppsz_generic_names, psz_name, VLC_CACHE_DIR, VLC_CONFIG_DIR, VLC_DESKTOP_DIR, VLC_DOCUMENTS_DIR, VLC_DOWNLOAD_DIR, VLC_HOME_DIR, VLC_MUSIC_DIR, VLC_PICTURES_DIR, VLC_PUBLICSHARE_DIR, VLC_SNAPSHOTS_DIR, VLC_TEMPLATES_DIR, VLC_USERDATA_DIR, and VLC_VIDEOS_DIR.
Referenced by config_GetUserDir().
|
static |
References s_jvm.
Referenced by config_GetGenericDir(), and vlc_getProxyUrl().
void system_Configure | ( | libvlc_int_t * | p_libvlc, |
int | i_argc, | ||
const char *const | pp_argv[] | ||
) |
References s_jvm, var_Create(), var_SetAddress(), and VLC_VAR_ADDRESS.
Referenced by libvlc_InternalInit().
void system_Init | ( | void | ) |
Referenced by config_GetBaseDir(), and libvlc_InternalInit().
jclass clazz |
Referenced by get_java_string(), and JNI_OnLoad().
struct { ... } Environment |
struct { ... } fields |
Referenced by config_GetGenericDir(), JNI_OnLoad(), JNI_OnUnload(), and vlc_getProxyUrl().
struct { ... } File |
jmethodID getAbsolutePath |
jmethodID getExternalStoragePublicDirectory |
jmethodID getProperty |
|
static |
Referenced by JNI_OnLoad(), JNI_OnUnload(), and platform_GetUserDir().
|
static |
Referenced by get_env(), JNI_OnLoad(), release_env(), and system_Configure().
struct { ... } System |