FreeRDP
android_jni_callback.h
1 
13 #ifndef FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H
14 #define FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H
15 
16 #include <jni.h>
17 #include <stdarg.h>
18 #include <freerdp/api.h>
19 
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,
25  ...);
26 FREERDP_LOCAL jint freerdp_callback_int_result(const char* callback, const char* signature, ...);
27 
28 #endif /* FREERDP_CLIENT_ANDROID_JNI_CALLBACK_H */