Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
jni.h File Reference
#include <stdio.h>
#include <stdarg.h>
#include "jni_md.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  jvalue
struct  JNINativeMethod
struct  JNINativeInterface_
struct  JNIEnv_
struct  JDK1_1InitArgs
struct  JDK1_1AttachArgs
struct  JNIInvokeInterface_
struct  JavaVM_

Defines

#define JNI_FALSE   0
#define JNI_TRUE   1
#define JNI_OK   0
#define JNI_ERR   (-1)
#define JNI_COMMIT   1
#define JNI_ABORT   2

Typedefs

typedef unsigned char jboolean
typedef unsigned short jchar
typedef short jshort
typedef float jfloat
typedef double jdouble
typedef jint jsize
typedef struct _jobject * jobject
typedef jobject jclass
typedef jobject jthrowable
typedef jobject jstring
typedef jobject jarray
typedef jarray jbooleanArray
typedef jarray jbyteArray
typedef jarray jcharArray
typedef jarray jshortArray
typedef jarray jintArray
typedef jarray jlongArray
typedef jarray jfloatArray
typedef jarray jdoubleArray
typedef jarray jobjectArray
typedef jobject jref
typedef union jvalue jvalue
typedef struct _jfieldID * jfieldID
typedef struct _jmethodID * jmethodID
typedef struct
JNINativeInterface_
JNIEnv
typedef struct
JNIInvokeInterface_
JavaVM
typedef struct JDK1_1InitArgs JDK1_1InitArgs
typedef struct JDK1_1AttachArgs JDK1_1AttachArgs

Functions

void JNICALL JNI_GetDefaultJavaVMInitArgs (void *)
jint JNICALL JNI_CreateJavaVM (JavaVM **, JNIEnv **, void *)
jint JNICALL JNI_GetCreatedJavaVMs (JavaVM **, jsize, jsize *)

Class Documentation

union jvalue

Definition at line 128 of file jni.h.

Class Members
jbyte b
jchar c
jdouble d
jfloat f
jint i
jlong j
jobject l
jshort s
jboolean z
struct JNINativeMethod

Definition at line 172 of file jni.h.

Class Members
void * fnPtr
char * name
char * signature
struct JNIEnv_

Definition at line 729 of file jni.h.

Collaboration diagram for JNIEnv_:
Class Members
struct JNINativeInterface_ * functions
void * reserved0
void * reserved1
struct JDK1_1AttachArgs

Definition at line 1764 of file jni.h.

Class Members
void * __padding
struct JavaVM_

Definition at line 1783 of file jni.h.

Collaboration diagram for JavaVM_:
Class Members
struct JNIInvokeInterface_ * functions
void * reserved0
void * reserved1
void * reserved2

Define Documentation

#define JNI_ABORT   2

Definition at line 165 of file jni.h.

#define JNI_COMMIT   1

Definition at line 164 of file jni.h.

#define JNI_ERR   (-1)

Definition at line 158 of file jni.h.

#define JNI_FALSE   0

Definition at line 150 of file jni.h.

#define JNI_OK   0

Definition at line 157 of file jni.h.

#define JNI_TRUE   1

Definition at line 151 of file jni.h.


Typedef Documentation

typedef jobject jarray

Definition at line 112 of file jni.h.

typedef struct JNIInvokeInterface_* JavaVM

Definition at line 203 of file jni.h.

typedef unsigned char jboolean

Definition at line 64 of file jni.h.

Definition at line 113 of file jni.h.

typedef jarray jbyteArray

Definition at line 114 of file jni.h.

typedef unsigned short jchar

Definition at line 65 of file jni.h.

typedef jarray jcharArray

Definition at line 115 of file jni.h.

typedef jobject jclass

Definition at line 109 of file jni.h.

typedef double jdouble

Definition at line 68 of file jni.h.

Definition at line 120 of file jni.h.

typedef struct _jfieldID* jfieldID

Definition at line 141 of file jni.h.

typedef float jfloat

Definition at line 67 of file jni.h.

Definition at line 119 of file jni.h.

typedef jarray jintArray

Definition at line 117 of file jni.h.

typedef jarray jlongArray

Definition at line 118 of file jni.h.

typedef struct _jmethodID* jmethodID

Definition at line 144 of file jni.h.

typedef struct JNINativeInterface_* JNIEnv

Definition at line 189 of file jni.h.

typedef struct _jobject* jobject

Definition at line 108 of file jni.h.

Definition at line 121 of file jni.h.

typedef jobject jref

Definition at line 125 of file jni.h.

typedef short jshort

Definition at line 66 of file jni.h.

Definition at line 116 of file jni.h.

Definition at line 70 of file jni.h.

typedef jobject jstring

Definition at line 111 of file jni.h.

Definition at line 110 of file jni.h.

typedef union jvalue jvalue

Function Documentation

jint JNICALL JNI_CreateJavaVM ( JavaVM **  ,
JNIEnv **  ,
void  
)

Here is the caller graph for this function:

Definition at line 99 of file JavaVMFramework.cpp.

{
#if DEBUG
    kprintf("_JNI_GetDefaultJavaVMInitArgs = 0x%08X\n", _JNI_GetDefaultJavaVMInitArgs);
#endif
    if (_JNI_GetDefaultJavaVMInitArgs) return _JNI_GetDefaultJavaVMInitArgs(args);
    return -1;
}

Here is the caller graph for this function: