13 #ifndef FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H
14 #define FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H
18 #include <freerdp/api.h>
20 FREERDP_LOCAL jint init_callback_environment(JavaVM* vm, JNIEnv* env);
21 FREERDP_LOCAL jboolean jni_attach_thread(JNIEnv** env);
22 FREERDP_LOCAL
void jni_detach_thread(
void);
23 FREERDP_LOCAL
void freerdp_callback(
const char* callback,
const char* signature, ...);
24 FREERDP_LOCAL jboolean freerdp_callback_bool_result(
const char* callback,
const char* signature,
26 FREERDP_LOCAL jint freerdp_callback_int_result(
const char* callback,
const char* signature, ...);