Back to index

lightning-sunbird  0.9+nobinonly
Public Attributes
JSJCallbacks Struct Reference

#include <jsjava.h>

Collaboration diagram for JSJCallbacks:
Collaboration graph
[legend]

List of all members.

Public Attributes

JSContext *(* map_jsj_thread_to_js_context )(JSJavaThreadState *jsj_env, JNIEnv *jEnv, char **errp)
JSJavaThreadState *(* map_js_context_to_jsj_thread )(JSContext *cx, char **errp)
JSObject *(* map_java_object_to_js_object )(JNIEnv *jEnv, void *pJavaObject, char **errp)
JSPrincipals *(* get_JSPrincipals_from_java_caller )(JNIEnv *jEnv, JSContext *pJSContext, void **pNSIPrincipaArray, int numPrincipals, void *pNSISecurityContext)
JSBool(* enter_js_from_java )(JNIEnv *jEnv, char **errp)
void(* exit_js )(JNIEnv *jEnv, JSContext *cx)
void(* error_print )(const char *error_msg)
jobject(* get_java_wrapper )(JNIEnv *jEnv, lcjsobject jsobj)
lcjsobject(* unwrap_java_wrapper )(JNIEnv *jEnv, jobject java_wrapper)
JSBool(* create_java_vm )(SystemJavaVM **jvm, JNIEnv **initialEnv, void *initargs)
JSBool(* destroy_java_vm )(SystemJavaVM *jvm, JNIEnv *initialEnv)
JNIEnv *(* attach_current_thread )(SystemJavaVM *jvm)
JSBool(* detach_current_thread )(SystemJavaVM *jvm, JNIEnv *env)
SystemJavaVM *(* get_java_vm )(JNIEnv *env)
voidreserved [10]

Detailed Description

Definition at line 92 of file jsjava.h.


Member Data Documentation

Definition at line 164 of file jsjava.h.

JSBool(* JSJCallbacks::create_java_vm)(SystemJavaVM **jvm, JNIEnv **initialEnv, void *initargs)

Definition at line 162 of file jsjava.h.

Definition at line 163 of file jsjava.h.

Definition at line 165 of file jsjava.h.

Definition at line 141 of file jsjava.h.

void(* JSJCallbacks::error_print)(const char *error_msg)

Definition at line 150 of file jsjava.h.

Definition at line 143 of file jsjava.h.

Definition at line 166 of file jsjava.h.

Definition at line 155 of file jsjava.h.

JSPrincipals*(* JSJCallbacks::get_JSPrincipals_from_java_caller)(JNIEnv *jEnv, JSContext *pJSContext, void **pNSIPrincipaArray, int numPrincipals, void *pNSISecurityContext)

Definition at line 130 of file jsjava.h.

JSObject*(* JSJCallbacks::map_java_object_to_js_object)(JNIEnv *jEnv, void *pJavaObject, char **errp)

Definition at line 125 of file jsjava.h.

Definition at line 117 of file jsjava.h.

Definition at line 106 of file jsjava.h.

Definition at line 169 of file jsjava.h.

Definition at line 159 of file jsjava.h.


The documentation for this struct was generated from the following file: