FreeRDP
android_jni_callback.c File Reference
#include <freerdp/config.h>
#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

◆ TAG

#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

◆ freerdp_callback()

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:

◆ freerdp_callback_bool_result()

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:

◆ freerdp_callback_int_result()

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:

◆ init_callback_environment()

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:

◆ java_callback_bool()

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:

◆ java_callback_int()

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:

◆ java_callback_void()

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:

◆ jni_attach_thread()

jboolean jni_attach_thread ( JNIEnv **  env)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ jni_detach_thread()

void jni_detach_thread ( void  )
Here is the caller graph for this function:

◆ jni_load_class()

static void jni_load_class ( JNIEnv *  env,
const char *  path,
jobject *  objptr 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ jLibFreeRDPObject

jobject jLibFreeRDPObject
static

◆ jLibFreeRDPPath

const char* jLibFreeRDPPath = JAVA_LIBFREERDP_CLASS
static

◆ jVM

JavaVM* jVM
static