summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-06-06 19:11:16 +0000
committerTom Tromey <tromey@redhat.com>2006-06-06 19:11:16 +0000
commit60c4c19bbe6316c5874ccb6df41b68be90b02b6e (patch)
tree0272b9d835647e16a1c64e850dfa20727224b380 /include
parenta5d976872d755765fd9ee1fa3558f38fdaed15e2 (diff)
downloadclasspath-60c4c19bbe6316c5874ccb6df41b68be90b02b6e.tar.gz
* include/jni.h (JDK1_1InitArgs): New struct.
(JDK1_1AttachArgs): Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/jni.h41
1 files changed, 40 insertions, 1 deletions
diff --git a/include/jni.h b/include/jni.h
index 8ebf3f7f7..634f5e000 100644
--- a/include/jni.h
+++ b/include/jni.h
@@ -1,5 +1,5 @@
/* jni.h
- Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006 Free Software Foundation
This file is part of GNU Classpath.
@@ -1584,6 +1584,45 @@ typedef struct JavaVMInitArgs
jboolean ignoreUnrecognized;
} JavaVMInitArgs;
+typedef struct JDK1_1InitArgs
+{
+ /* VM version. Should be JNI_VERSION_1_1. Note that before JDK
+ 1.1.2, this field was named 'reserved0'. (I don't know what the
+ current 'reserved0' field was named then.) */
+ jint version;
+
+ /* A null-terminated array of environment strings, each of the form
+ "KEY=VALUE". This is used to set system properties. Note that
+ before JDK 1.1.2, this field was named 'reserved1'. */
+ char **properties;
+
+ jint checkSource;
+ jint nativeStackSize;
+ jint javaStackSize;
+ jint minHeapSize;
+ jint maxHeapSize;
+ jint verifyMode;
+ const char *classpath;
+
+ jint (*vfprintf) (FILE *file, const char *fmt, va_list args);
+ void (*exit) (jint value);
+ void (*abort) ();
+
+ jint enableClassGC;
+ jint enableVerboseGC;
+ jint disableAsyncGC;
+
+ jint reserved0;
+ jint reserved1;
+ jint reserved2;
+} JDK1_1InitArgs;
+
+typedef struct JDK1_1AttachArgs
+{
+ /* Dummy field since C cannot have empty structs. The name and type
+ are chosen to comply with the spec. */
+ void *__padding;
+} JDK1_1AttachArgs;
/* Keep c-font-lock-extra-types in alphabetical order. */