FreeRDP
android_jni_callback.c File Reference
#include <stdio.h>
#include "android_jni_callback.h"
#include "android_freerdp_jni.h"
#include <freerdp/log.h>

Macros

#define TAG   CLIENT_TAG("android.callback")
 

Functions

static void jni_load_class (JNIEnv *env, const char *path, jobject *objptr)
 
jint init_callback_environment (JavaVM *vm, JNIEnv *env)
 
jboolean jni_attach_thread (JNIEnv **env)
 
void jni_detach_thread ()
 
static void java_callback_void (jobject obj, const char *callback, const char *signature, va_list args)
 
static jboolean java_callback_bool (jobject obj, const char *callback, const char *signature, va_list args)
 
static jint java_callback_int (jobject obj, const char *callback, const char *signature, va_list args)
 
void freerdp_callback (const char *callback, const char *signature,...)
 
jboolean freerdp_callback_bool_result (const char *callback, const char *signature,...)
 
jint freerdp_callback_int_result (const char *callback, const char *signature,...)
 

Variables

static JavaVM * jVM
 
static jobject jLibFreeRDPObject
 
static const char * jLibFreeRDPPath = JAVA_LIBFREERDP_CLASS
 

Macro Definition Documentation

#define TAG   CLIENT_TAG("android.callback")

FreeRDP: A Remote Desktop Protocol Implementation Android JNI Callback Helpers

Copyright 2011-2013 Thincast Technologies GmbH, Author: Martin Fleisz

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Function Documentation

void freerdp_callback ( const char *  callback,
const char *  signature,
  ... 
)

Here is the call graph for this function:

Here is the caller graph for this function:

jboolean freerdp_callback_bool_result ( const char *  callback,
const char *  signature,
  ... 
)

Here is the call graph for this function:

Here is the caller graph for this function:

jint freerdp_callback_int_result ( const char *  callback,
const char *  signature,
  ... 
)

Here is the call graph for this function:

Here is the caller graph for this function:

jint init_callback_environment ( JavaVM *  vm,
JNIEnv *  env 
)

FreeRDP: A Remote Desktop Protocol Implementation Android JNI Callback Helpers

Copyright 2010-2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2011-2013 Thincast Technologies GmbH, Author: Martin Fleisz

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Here is the call graph for this function:

Here is the caller graph for this function:

static jboolean java_callback_bool ( jobject  obj,
const char *  callback,
const char *  signature,
va_list  args 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static jint java_callback_int ( jobject  obj,
const char *  callback,
const char *  signature,
va_list  args 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void java_callback_void ( jobject  obj,
const char *  callback,
const char *  signature,
va_list  args 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

jboolean jni_attach_thread ( JNIEnv **  env)

Here is the caller graph for this function:

void jni_detach_thread ( void  )

Here is the caller graph for this function:

static void jni_load_class ( JNIEnv *  env,
const char *  path,
jobject *  objptr 
)
static

Here is the caller graph for this function:

Variable Documentation

jobject jLibFreeRDPObject
static
const char* jLibFreeRDPPath = JAVA_LIBFREERDP_CLASS
static
JavaVM* jVM
static