harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r350181 [143/198] - in /incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core: ./ depends/ depends/files/ depends/jars/ depends/libs/ depends/libs/linux.IA32/ depends/libs/win.IA32/ depends/oss/ depends/oss/linux.IA32/ depends/oss/win....
Date Thu, 01 Dec 2005 06:04:00 GMT
Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/include/jclprots.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/include/jclprots.h?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/include/jclprots.h
(added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/include/jclprots.h
Wed Nov 30 21:29:27 2005
@@ -0,0 +1,562 @@
+/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#if !defined(JCLPROTS_H)
+#define JCLPROTS_H
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+#include "jcl.h"
+
+/************************************************************
+ ** COMPONENT: NativesCommon
+ ************************************************************/
+
+/* NativesCommonComm*/
+jint JNICALL Java_com_ibm_oti_connection_comm_Connection_writeImpl PROTOTYPE((JNIEnv *env,
jobject jThis, jint osHandle, jbyteArray jBuffer, jint offset, jint length));
+jint JNICALL Java_com_ibm_oti_connection_comm_Connection_readImpl PROTOTYPE((JNIEnv *env,
jobject jThis, jint osHandle, jbyteArray jBuffer, jint offset, jint length));
+jint JNICALL Java_com_ibm_oti_connection_comm_Connection_getBaud PROTOTYPE((JNIEnv *env,
jobject jThis, jint osHandle));
+void JNICALL Java_com_ibm_oti_connection_comm_Connection_closeImpl PROTOTYPE((JNIEnv *env,
jobject jThis, jint osHandle));
+jint JNICALL Java_com_ibm_oti_connection_comm_Connection_openImpl PROTOTYPE((JNIEnv *env,
jobject jThis, jint jPortNum));
+jint JNICALL Java_com_ibm_oti_connection_comm_Connection_setBaud PROTOTYPE((JNIEnv *env,
jobject jThis, jint osHandle, jint baudrate));
+jint JNICALL Java_com_ibm_oti_connection_comm_Connection_openImpl2 PROTOTYPE((JNIEnv *env,
jobject jThis, jstring portName));
+void JNICALL Java_com_ibm_oti_connection_comm_Connection_configureImpl PROTOTYPE((JNIEnv
*env, jobject jThis, jint osHandle,
+jint baudrate, jint bitsPerChar, jint stopBits, jint parity, jboolean autoRTS, jboolean autoCTS,
jint timeout));
+jint JNICALL Java_com_ibm_oti_connection_comm_Connection_availableImpl PROTOTYPE((JNIEnv
*env, jobject jThis, jint osHandle));
+
+/* NativesCommonPlainServerSocketImpl*/
+void JNICALL Java_java_net_PlainServerSocketImpl_createServerStreamSocketImpl PROTOTYPE((
+	JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
+
+/* NativesCommonDeflater*/
+void JNICALL Java_java_util_zip_Deflater_setDictionaryImpl PROTOTYPE(( JNIEnv * env, jobject
recv,  jbyteArray dict, int off, int len, jlong handle));
+void JNICALL Java_java_util_zip_Deflater_resetImpl PROTOTYPE(( JNIEnv * env, jobject recv,
 jlong handle));
+int JNICALL Java_java_util_zip_Deflater_getTotalOutImpl PROTOTYPE(( JNIEnv * env, jobject
recv, jlong handle));
+void JNICALL Java_java_util_zip_Deflater_endImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jlong handle));
+jint JNICALL Java_java_util_zip_Deflater_deflateImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray buf, int off, int len,
+													 jlong handle, int flushParm));
+void JNICALL Java_java_util_zip_Deflater_setLevelsImpl PROTOTYPE(( JNIEnv * env, jobject
recv, int level, int strategy, jlong handle));
+void JNICALL Java_java_util_zip_Deflater_oneTimeInitialization PROTOTYPE((JNIEnv * env, jclass
clazz));
+void JNICALL Java_java_util_zip_Deflater_setInputImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jbyteArray buf, jint off, jint len, jlong handle));
+jlong JNICALL Java_java_util_zip_Deflater_createStream PROTOTYPE(( JNIEnv * env, jobject
recv, jint level, jint strategy, jboolean noHeader));
+jint JNICALL Java_java_util_zip_Deflater_getTotalInImpl PROTOTYPE(( JNIEnv * env, jobject
recv, jlong handle));
+jint JNICALL Java_java_util_zip_Deflater_getAdlerImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jlong handle));
+
+/* NativesCommonPlainSocketImpl2*/
+void JNICALL Java_java_net_PlainSocketImpl2_connectStreamWithTimeoutSocketImpl2 PROTOTYPE((JNIEnv
*env, jclass thisClz,
+	jobject fileDescriptor, jint remotePort, jint timeout, jint trafficClass, jobject inetAddress));
+void JNICALL Java_java_net_PlainSocketImpl2_socketBindImpl2 PROTOTYPE((JNIEnv *env, jclass
thisClz,
+	jobject fileDescriptor, jint localPort,  jobject inetAddress));
+void JNICALL Java_java_net_PlainSocketImpl2_createStreamSocketImpl2 PROTOTYPE((
+	JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
+void JNICALL Java_java_net_PlainSocketImpl2_connectStreamSocketImpl2 PROTOTYPE((JNIEnv *env,
jclass thisClz,
+	jobject fileDescriptor, jint remotePort, jint trafficClass, jobject inetAddress));
+jint JNICALL Java_java_net_PlainSocketImpl2_sendDatagramImpl2 PROTOTYPE((
+	JNIEnv* env, jclass thisClz,
+	jobject fileDescriptor, jbyteArray data, jint offset, jint msgLength,
+	jint targetPort, jobject inetAddress));
+
+/* NativesCommonFileOutputStream*/
+jint JNICALL Java_java_io_FileOutputStream_openImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray path, jboolean append));
+void JNICALL Java_java_io_FileOutputStream_closeImpl PROTOTYPE((JNIEnv * env, jobject recv));
+void JNICALL Java_java_io_FileOutputStream_writeByteImpl PROTOTYPE((JNIEnv *env, jobject
recv, jint c, jlong descriptor));
+void JNICALL Java_java_io_FileOutputStream_writeImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray buffer, jint offset, jint count, jlong descriptor));
+void JNICALL Java_java_io_FileOutputStream_oneTimeInitialization PROTOTYPE((JNIEnv * env,
jclass clazz));
+
+/* NativesCommonDoubleParsing*/
+JNIEXPORT jdouble JNICALL Java_com_ibm_oti_util_FloatingPointParser_parseDblImpl
+   PROTOTYPE((JNIEnv *env, jclass clazz, jstring s, jint e));
+JNIEXPORT void JNICALL Java_com_ibm_oti_util_NumberConverter_bigIntDigitGeneratorInstImpl
+    PROTOTYPE((JNIEnv *env, jobject inst, jlong f, jint e, jboolean isDenormalized, jboolean
mantissaIsZero, jint p));
+
+/* NativesCommonAdler32*/
+jlong JNICALL Java_java_util_zip_Adler32_updateImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jbyteArray buf, int off, int len, jlong crc));
+jlong JNICALL Java_java_util_zip_Adler32_updateByteImpl PROTOTYPE(( JNIEnv * env, jobject
recv, jint val, jlong crc));
+
+/* NativesCommonCRC32*/
+jlong JNICALL Java_java_util_zip_CRC32_updateByteImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jbyte val, jlong crc));
+jlong JNICALL Java_java_util_zip_CRC32_updateImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jbyteArray buf, int off, int len, jlong crc));
+
+/* NativesCommonAnnotationHelper*/
+jobject JNICALL
+Java_com_ibm_oti_reflect_AnnotationHelper_getReturnValueForEntry PROTOTYPE((JNIEnv * env,
jclass unusedClazz, jclass clazz, jlong entryValue, jstring mName));
+jobjectArray JNICALL
+Java_com_ibm_oti_reflect_AnnotationHelper_getAnnotationEntries PROTOTYPE((JNIEnv * env, jclass
unusedClazz, jclass clazz, jint type, jobject obj));
+jobject JNICALL
+Java_com_ibm_oti_reflect_AnnotationHelper_getAnnotationClassNameForEntry PROTOTYPE((JNIEnv
* env, jclass unusedClazz, jlong entryValue));
+jobject JNICALL
+Java_com_ibm_oti_reflect_AnnotationHelper_getReturnValueFromEntry PROTOTYPE((JNIEnv * env,
jclass unusedClazz, jclass clazz, jclass annType, jlong entryValue, jstring mName));
+jobject JNICALL
+Java_com_ibm_oti_reflect_AnnotationHelper_getDefaultReturnValue PROTOTYPE((JNIEnv * env,
jclass unusedClazz, jclass clazz, jobject obj));
+jobject JNICALL
+Java_com_ibm_oti_reflect_AnnotationHelper_getDefaultReturnValueFromMethod PROTOTYPE((JNIEnv
* env, jclass unusedClazz, jclass clazz, jclass annType, jobject obj));
+
+/* NativesCommonSocketImpl*/
+void JNICALL Java_java_net_SocketImpl_listenStreamSocketImpl PROTOTYPE(( JNIEnv *env, jclass
thisClz, jobject fileDescriptor, jint backlog));
+void JNICALL Java_java_net_SocketImpl_acceptStreamSocketImpl PROTOTYPE((JNIEnv *env, jclass
thisClz,
+	jobject fileDescriptorServer, jobject socketImpl, jobject fileDescriptorSocketImpl, jint
timeout));
+void JNICALL Java_java_net_SocketImpl_sendUrgentDataImpl PROTOTYPE((JNIEnv * env, jclass
thisClz, jobject fileDescriptor, jbyte data));
+jint JNICALL Java_java_net_SocketImpl_receiveStreamImpl PROTOTYPE((JNIEnv * env, jclass thisClz,
+														jobject fileDescriptor, jbyteArray data, jint offset,
+														jint count, jint timeout));
+void JNICALL Java_java_net_SocketImpl_createStreamSocketImpl PROTOTYPE((
+	JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
+jint JNICALL Java_java_net_SocketImpl_sendStreamImpl PROTOTYPE((JNIEnv * env, jclass thisClz,
jobject fileDescriptor,
+													 jbyteArray data, jint offset, jint count));
+void JNICALL Java_java_net_SocketImpl_shutdownOutputImpl PROTOTYPE(( JNIEnv * env, jclass
thisClz, jobject fileDescriptor));
+void JNICALL Java_java_net_SocketImpl_createDatagramSocketImpl PROTOTYPE((
+JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
+jint JNICALL Java_java_net_SocketImpl_availableStreamImpl PROTOTYPE(( JNIEnv *env, jclass
thisClz, jobject fileDescriptor));
+jboolean JNICALL Java_java_net_SocketImpl_supportsUrgentDataImpl PROTOTYPE((JNIEnv * env,
jclass thisClz, jobject fileDescriptor));
+void JNICALL Java_java_net_SocketImpl_shutdownInputImpl PROTOTYPE(( JNIEnv * env, jclass
thisClz, jobject fileDescriptor));
+void JNICALL Java_java_net_SocketImpl_oneTimeInitialization PROTOTYPE((JNIEnv * env, jclass
clazz, jboolean jcl_supports_ipv6 ));
+
+/* NativesCommonFile*/
+jboolean JNICALL Java_java_io_File_mkdirImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jboolean JNICALL Java_java_io_File_setLastModifiedImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray path, jlong time));
+jboolean JNICALL Java_java_io_File_isDirectoryImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray path));
+jboolean JNICALL Java_java_io_File_isReadOnlyImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jlong JNICALL Java_java_io_File_lastModifiedImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jboolean JNICALL Java_java_io_File_renameToImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
pathExist, jbyteArray pathNew));
+jobject JNICALL Java_java_io_File_rootsImpl PROTOTYPE((JNIEnv *env, jclass clazz));
+jboolean JNICALL Java_java_io_File_deleteDirImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jboolean JNICALL Java_java_io_File_isCaseSensitiveImpl PROTOTYPE((JNIEnv *env, jclass clazz));
+jlong JNICALL Java_java_io_File_lengthImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jboolean JNICALL Java_java_io_File_isAbsoluteImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jboolean JNICALL Java_java_io_File_isWriteOnlyImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray path));
+jboolean JNICALL Java_java_io_File_isFileImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jint JNICALL Java_java_io_File_newFileImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jboolean JNICALL Java_java_io_File_deleteFileImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jobject JNICALL Java_java_io_File_getCanonImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jobject JNICALL Java_java_io_File_listImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jboolean JNICALL Java_java_io_File_isHiddenImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jobject JNICALL Java_java_io_File_getLinkImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jbyteArray JNICALL Java_java_io_File_properPathImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray path));
+void JNICALL Java_java_io_File_oneTimeInitialization PROTOTYPE((JNIEnv * env, jclass clazz));
+jboolean JNICALL Java_java_io_File_existsImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
+jboolean JNICALL Java_java_io_File_setReadOnlyImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray path));
+
+/* NativesCommonFileInputStream*/
+jint JNICALL Java_java_io_FileInputStream_readByteImpl PROTOTYPE((JNIEnv * env, jobject recv,
jlong descriptor));
+jint JNICALL Java_java_io_FileInputStream_readImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray buffer, jint offset, jint count, jlong descriptor));
+void JNICALL Java_java_io_FileInputStream_oneTimeInitialization PROTOTYPE((JNIEnv * env,
jclass clazz));
+void JNICALL Java_java_io_FileInputStream_closeImpl PROTOTYPE((JNIEnv * env, jobject recv));
+jlong JNICALL Java_java_io_FileInputStream_skip PROTOTYPE((JNIEnv * env, jobject recv, jlong
count));
+jint JNICALL Java_java_io_FileInputStream_available PROTOTYPE((JNIEnv * env, jobject recv));
+jint JNICALL Java_java_io_FileInputStream_openImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray path));
+
+/* NativesCommonObjectInputStream*/
+void JNICALL Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2I
PROTOTYPE((JNIEnv *env, jclass clazz, jobject targetObject, jobject declaringClass, jobject
fieldName, jint newValue));
+void JNICALL Java_java_io_ObjectInputStream_objSetField PROTOTYPE((JNIEnv *env, jclass clazz,
jobject targetObject, jobject declaringClass, jobject fieldName, jobject fieldTypeName, jobject
newValue));
+void JNICALL Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2C
PROTOTYPE((JNIEnv *env, jclass clazz, jobject targetObject, jobject declaringClass, jobject
fieldName, jchar newValue));
+void JNICALL Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2D
PROTOTYPE((JNIEnv *env, jclass clazz, jobject targetObject, jobject declaringClass, jobject
fieldName, jdouble newValue));
+void JNICALL Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2F
PROTOTYPE((JNIEnv *env, jclass clazz, jobject targetObject, jobject declaringClass, jobject
fieldName, jfloat newValue));
+void JNICALL Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2B
PROTOTYPE((JNIEnv *env, jclass clazz, jobject targetObject, jobject declaringClass, jobject
fieldName, jbyte newValue));
+jobject JNICALL Java_java_io_ObjectInputStream_newInstance PROTOTYPE((JNIEnv *env, jclass
clazz, jobject instantiationClass, jobject constructorClass));
+void JNICALL Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2S
PROTOTYPE((JNIEnv *env, jclass clazz, jobject targetObject, jobject declaringClass, jobject
fieldName, jshort newValue));
+void JNICALL Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2J
PROTOTYPE((JNIEnv *env, jclass clazz, jobject targetObject, jobject declaringClass, jobject
fieldName, jlong newValue));
+void JNICALL Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2Z
PROTOTYPE((JNIEnv *env, jclass clazz, jobject targetObject, jobject declaringClass, jobject
fieldName, jboolean newValue));
+
+/* NativesCommonAccessController*/
+jboolean JNICALL Java_java_security_AccessController_initializeInternal PROTOTYPE((JNIEnv
*env, jclass thisClz));
+
+/* NativesCommonNetworkInterface*/
+jobjectArray JNICALL Java_java_net_NetworkInterface_getNetworkInterfacesImpl PROTOTYPE((JNIEnv*
env, jclass clazz));
+
+/* NativesCommonObjectStreamClass*/
+jboolean JNICALL Java_java_io_ObjectStreamClass_hasClinit PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetClass));
+jobject JNICALL Java_java_io_ObjectStreamClass_getFieldSignature PROTOTYPE((JNIEnv * env,
jclass clazz, jobject reflectField));
+jobject JNICALL Java_java_io_ObjectStreamClass_getConstructorSignature PROTOTYPE((JNIEnv
* env, jclass clazz,
+																	   jobject reflectConstructor));
+jobject JNICALL Java_java_io_ObjectStreamClass_getMethodSignature PROTOTYPE((JNIEnv * env,
jclass clazz, jobject reflectMethod));
+void JNICALL Java_java_io_ObjectStreamClass_oneTimeInitialization PROTOTYPE((JNIEnv * env,
jclass clazz));
+
+/* NativesCommonInflater*/
+void JNICALL Java_java_util_zip_Inflater_endImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jlong handle));
+void JNICALL Java_java_util_zip_Inflater_setInputImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jbyteArray buf, jint off, jint len, jlong handle));
+jint JNICALL Java_java_util_zip_Inflater_inflateImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray buf, int off, int len,
+													 jlong handle));
+void JNICALL Java_java_util_zip_Inflater_setDictionaryImpl PROTOTYPE(( JNIEnv * env, jobject
recv,  jbyteArray dict, int off, int len, jlong handle));
+void JNICALL Java_java_util_zip_Inflater_oneTimeInitialization PROTOTYPE((JNIEnv * env, jclass
clazz));
+void JNICALL Java_java_util_zip_Inflater_resetImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jlong handle));
+int JNICALL Java_java_util_zip_Inflater_getTotalOutImpl PROTOTYPE(( JNIEnv * env, jobject
recv, jlong handle));
+jlong JNICALL Java_java_util_zip_Inflater_createStream PROTOTYPE(( JNIEnv * env, jobject
recv, jboolean noHeader));
+int JNICALL Java_java_util_zip_Inflater_getTotalInImpl PROTOTYPE(( JNIEnv * env, jobject
recv, jlong handle));
+jint JNICALL Java_java_util_zip_Inflater_getAdlerImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jlong handle));
+
+/* NativesCommonSystem*/
+void JNICALL Java_java_lang_System_setFieldImpl PROTOTYPE((JNIEnv * env, jclass cls, jstring
name, jobject stream));
+jobject createSystemPropertyList PROTOTYPE((JNIEnv *env, const char *defaultValues[], int
defaultCount));
+jstring JNICALL Java_java_lang_System_getCommPortList PROTOTYPE((JNIEnv *env, jclass clazz));
+jstring JNICALL Java_java_lang_System_getEncoding PROTOTYPE((JNIEnv *env, jclass clazz, jint
encodingType));
+jobject JNICALL Java_java_lang_System_getPropertyList PROTOTYPE((JNIEnv *env, jclass clazz));
+jstring JNICALL Java_java_lang_SystemProperties_getEncoding PROTOTYPE((JNIEnv *env, jclass
clazz, jint encodingType));
+jstring JNICALL Java_java_lang_System_mapLibraryName PROTOTYPE((JNIEnv * env, jclass unusedClass,
jstring inName));
+void JNICALL Java_java_lang_System_initLocale PROTOTYPE((JNIEnv *env, jclass clazz));
+jobject JNICALL Java_java_lang_SystemProperties_getPropertyList PROTOTYPE((JNIEnv *env, jclass
clazz));
+char *readCodepageMappings PROTOTYPE((JNIEnv *env, char* codepage, char *codepageResult,
int resultSize));
+
+/* NativesCommonProxy*/
+jclass JNICALL Java_java_lang_reflect_Proxy_defineClassImpl PROTOTYPE((JNIEnv * env, jclass
recvClass, jobject classLoader, jstring className, jbyteArray classBytes));
+jclass JNICALL 
+Java_java_lang_reflect_Proxy_defineClass0__Ljava_lang_ClassLoader_2Ljava_lang_String_2_3BIILjava_lang_Object_2_3Ljava_lang_Object_2Ljava_lang_Object_2
PROTOTYPE((JNIEnv * env, jclass recvClass, jobject classLoader, jstring className, jbyteArray
classBytes, jint offset, jint length, jobject pd, jobject signers, jobject source));
+jclass JNICALL 
+Java_java_lang_reflect_Proxy_defineClass0__Ljava_lang_ClassLoader_2Ljava_lang_String_2_3BII
PROTOTYPE((JNIEnv * env, jclass recvClass, jobject classLoader, jstring className, jbyteArray
classBytes, jint offset, jint length));
+
+/* NativesCommonGlobals*/
+void JNICALL JNI_OnUnload PROTOTYPE((JavaVM * vm, void *reserved));
+jint JNICALL JCL_OnLoad PROTOTYPE((JavaVM * vm, void *reserved));
+
+/* NativesCommonRuntime*/
+jlong JNICALL Java_java_lang_Runtime_maxMemoryImpl PROTOTYPE((JNIEnv * env, jclass cls));
+jint JNICALL Java_java_lang_Runtime_availableProcessorsImpl PROTOTYPE((JNIEnv * env, jclass
cls));
+
+/* NativesCommonJarFile*/
+jarray JNICALL Java_java_util_jar_JarFile_getMetaEntriesImpl PROTOTYPE((JNIEnv * env, jobject
recv, jbyteArray zipName));
+/* NativesCommonRandomAccessFile*/
+jint JNICALL Java_java_io_RandomAccessFile_readImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray buffer, jint offset, jint count, jlong descriptor));
+void JNICALL Java_java_io_RandomAccessFile_seek PROTOTYPE((JNIEnv * env, jobject recv, jlong
pos));
+void JNICALL Java_java_io_RandomAccessFile_closeImpl PROTOTYPE((JNIEnv * env, jobject recv));
+jlong JNICALL Java_java_io_RandomAccessFile_length PROTOTYPE((JNIEnv * env, jobject recv));
+jlong JNICALL Java_java_io_RandomAccessFile_getFilePointer PROTOTYPE((JNIEnv * env, jobject
recv));
+void JNICALL Java_java_io_RandomAccessFile_setLengthImpl PROTOTYPE((JNIEnv * env, jobject
recv, jlong newLength));
+void JNICALL Java_java_io_RandomAccessFile_writeImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray buffer, jint offset, jint count, jlong descriptor));
+jint JNICALL Java_java_io_RandomAccessFile_readByteImpl PROTOTYPE((JNIEnv *env, jobject recv,
jlong descriptor));
+void JNICALL Java_java_io_RandomAccessFile_oneTimeInitialization PROTOTYPE((JNIEnv * env,
jclass rafClazz));
+jint JNICALL Java_java_io_RandomAccessFile_openImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray path, jboolean writable));
+void JNICALL Java_java_io_RandomAccessFile_writeByteImpl PROTOTYPE((JNIEnv *env, jobject
recv, jint c, jlong descriptor));
+
+/* NativesCommonObjectOutputStream*/
+jfloat JNICALL Java_java_io_ObjectOutputStream_getFieldFloat PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetObject, jobject declaringClass, jobject fieldName));
+jobject JNICALL Java_java_io_ObjectOutputStream_getFieldObj PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetObject, jobject declaringClass, jobject fieldName, jobject fieldTypeName));
+jshort JNICALL Java_java_io_ObjectOutputStream_getFieldShort PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetObject, jobject declaringClass, jobject fieldName));
+jbyte JNICALL Java_java_io_ObjectOutputStream_getFieldByte PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetObject, jobject declaringClass, jobject fieldName));
+jlong JNICALL Java_java_io_ObjectOutputStream_getFieldLong PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetObject, jobject declaringClass, jobject fieldName));
+jdouble JNICALL Java_java_io_ObjectOutputStream_getFieldDouble PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetObject, jobject declaringClass, jobject fieldName));
+jboolean JNICALL Java_java_io_ObjectOutputStream_getFieldBool PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetObject, jobject declaringClass, jobject fieldName));
+jint JNICALL Java_java_io_ObjectOutputStream_getFieldInt PROTOTYPE((JNIEnv *env, jclass clazz,
jobject targetObject, jobject declaringClass, jobject fieldName));
+jchar JNICALL Java_java_io_ObjectOutputStream_getFieldChar PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetObject, jobject declaringClass, jobject fieldName));
+
+/* NativesCommonFileInputStream*/
+jint JNICALL Java_com_ibm_oti_connection_file_FileInputStream_readByteImpl PROTOTYPE((JNIEnv
* env, jobject recv, jlong descriptor));
+jint JNICALL Java_com_ibm_oti_connection_file_FileInputStream_readImpl PROTOTYPE((JNIEnv
* env, jobject recv, jbyteArray buffer, jint offset, jint count, jlong descriptor));
+jlong JNICALL Java_com_ibm_oti_connection_file_FileInputStream_skipImpl PROTOTYPE((JNIEnv
* env, jobject recv, jlong count, jlong descriptor));
+jlong JNICALL Java_com_ibm_oti_connection_file_FileInputStream_openImpl PROTOTYPE((JNIEnv
* env, jobject recv, jbyteArray path));
+void JNICALL Java_com_ibm_oti_connection_file_FileInputStream_closeImpl PROTOTYPE((JNIEnv
* env, jobject recv, jlong descriptor));
+jint JNICALL Java_com_ibm_oti_connection_file_FileInputStream_availableImpl PROTOTYPE((JNIEnv
* env, jobject recv, jlong descriptor));
+
+/* NativesCommonSocket*/
+void createSocket PROTOTYPE((JNIEnv* env, jobject thisObjFD, int sockType, jboolean preferIPv4Stack));
+void JNICALL Java_java_net_Socket_socketCloseImpl PROTOTYPE(( JNIEnv * env, jclass thisClz,
jobject fileDescriptor));
+void JNICALL Java_java_net_Socket_oneTimeInitialization PROTOTYPE((JNIEnv * env, jclass clazz,
jboolean jcl_supports_ipv6));
+jobject JNICALL Java_java_net_Socket_getSocketLocalAddressImpl PROTOTYPE((JNIEnv *env, jclass
thisClz, jobject fileDescriptor, jboolean preferIPv6Addresses));
+jobject JNICALL Java_java_net_Socket_getSocketOptionImpl PROTOTYPE((JNIEnv *env, jclass thisClz,
jobject aFileDescriptor, jint anOption));
+void JNICALL Java_java_net_Socket_setSocketOptionImpl PROTOTYPE((JNIEnv *env, jclass thisClz,
jobject aFileDescriptor, jint anOption, jobject aValue));
+jint JNICALL Java_java_net_Socket_getSocketFlags PROTOTYPE((JNIEnv *env, jclass thisClz));
+jint JNICALL Java_java_net_Socket_getSocketLocalPortImpl PROTOTYPE((JNIEnv *env, jclass thisClz,
jobject fileDescriptor, jboolean preferIPv6Addresses));
+I_32 pollSelectRead PROTOTYPE((JNIEnv * env, jobject fileDescriptor, jint timeout, BOOLEAN
poll));
+
+/* NativesCommonPlainMulticastSocketImpl*/
+void JNICALL Java_java_net_PlainMulticastSocketImpl_createMulticastSocketImpl PROTOTYPE((
+	JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
+
+/* NativesCommonZipFile*/
+void throwJavaZIOException PROTOTYPE((JNIEnv * env, char *message));
+void throwNewInternalError PROTOTYPE((JNIEnv * env, char * message));
+void JNICALL Java_java_util_zip_ZipFile_closeZipImpl PROTOTYPE((JNIEnv * env, jobject recv));
+jobject JNICALL Java_java_util_zip_ZipFile_00024ZFEnum_getNextEntry PROTOTYPE((JNIEnv * env,
jobject recv, jlong descriptor, jlong nextEntry));
+void JNICALL Java_java_util_zip_ZipFile_ntvinit PROTOTYPE((JNIEnv * env, jclass cls));
+void throwNewIllegalStateException PROTOTYPE((JNIEnv * env, char * message));
+jlong JNICALL Java_java_util_zip_ZipFile_00024ZFEnum_resetZip PROTOTYPE((JNIEnv * env, jobject
recv, jlong descriptor));
+jint JNICALL Java_java_util_zip_ZipFile_openZipImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray zipName));
+jobject JNICALL Java_java_util_zip_ZipFile_getEntryImpl PROTOTYPE((JNIEnv * env, jobject
recv, jlong zipPointer, jstring entryName));
+jbyteArray JNICALL Java_java_util_zip_ZipFile_inflateEntryImpl2 PROTOTYPE((JNIEnv * env,
jobject recv, jlong zipPointer, jstring entryName));
+void throwNewIllegalArgumentException PROTOTYPE((JNIEnv * env, char * message));
+
+/* NativesCommonInetAddress*/
+void JNICALL Java_java_net_InetAddress_oneTimeInitialization PROTOTYPE((JNIEnv * env, jclass
clazz, jboolean ipv6_support ));
+jint JNICALL Java_java_net_InetAddress_inetAddrImpl PROTOTYPE((JNIEnv* env, jclass clazz,
jstring host));
+jstring JNICALL Java_java_net_InetAddress_getHostNameImpl PROTOTYPE((JNIEnv* env, jclass
clazz));
+jobjectArray JNICALL Java_java_net_InetAddress_getAliasesByNameImpl PROTOTYPE((JNIEnv* env,
jclass clazz, jstring aName));
+jstring JNICALL Java_java_net_InetAddress_inetNtoaImpl PROTOTYPE((JNIEnv* env, jclass clazz,
jint hipAddr));
+jobject JNICALL Java_java_net_InetAddress_getHostByAddrImpl PROTOTYPE((JNIEnv* env, jclass
clazz, jbyteArray addr));
+jobject JNICALL Java_java_net_InetAddress_getHostByNameImpl PROTOTYPE((JNIEnv* env, jclass
clazz, jstring aName, jboolean preferIPv6Addresses));
+jobjectArray JNICALL Java_java_net_InetAddress_getAliasesByAddrImpl PROTOTYPE((JNIEnv* env,
jclass clazz, jstring addr));
+
+/* NativesCommonTimeZone*/
+jstring JNICALL Java_java_util_TimeZone_getCustomTimeZone PROTOTYPE((JNIEnv *env, jclass
clazz, jintArray tzinfo, jbooleanArray isCustomTimeZone));
+
+/* NativesCommonFileOutputStream*/
+void JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_writeImpl PROTOTYPE((JNIEnv
*env, jobject recv, jbyteArray buffer, jint offset, jint count, jlong descriptor));
+jlong JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_openImpl PROTOTYPE((JNIEnv
* env, jobject recv, jbyteArray path, jboolean append));
+void JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_writeByteImpl PROTOTYPE((JNIEnv
*env, jobject recv, jint c, jlong descriptor));
+void JNICALL Java_com_ibm_oti_connection_file_FileOutputStream_closeImpl PROTOTYPE((JNIEnv
* env, jobject recv, jlong descriptor));
+
+/* NativesCommonFloatParsing*/
+JNIEXPORT jfloat JNICALL Java_com_ibm_oti_util_FloatingPointParser_parseFltImpl
+   PROTOTYPE((JNIEnv *env, jclass clazz, jstring s, jint e));
+
+/* NativesCommonNetHelpers*/
+void throwJavaNetBindException PROTOTYPE((JNIEnv* env, I_32 errorNumber));
+jobject newJavaNetInetAddressGenericBS PROTOTYPE((JNIEnv * env, jbyte *address, U_32 length,
char *hostName, U_32 scope_id ));
+void throwJavaNetUnknownHostException PROTOTYPE((JNIEnv* env, I_32 errorNumber));
+jobject newJavaNetInetAddressGenericB PROTOTYPE((JNIEnv * env, jbyte *address, U_32 length,
U_32 scope_id ));
+jobject newJavaLangByte PROTOTYPE((JNIEnv * env, U_8 aByte));
+U_8 byteValue PROTOTYPE((JNIEnv * env, jobject aByte));
+I_32 intValue PROTOTYPE((JNIEnv * env, jobject anInteger));
+void throwJavaNetPortUnreachableException PROTOTYPE((JNIEnv* env, I_32 errorNumber));
+jobject newJavaByteArray PROTOTYPE((JNIEnv * env, jbyte *bytes, jint length));
+jobjectArray createAliasArrayFromAddrinfo PROTOTYPE((JNIEnv* env, hyaddrinfo_t addresses,
char* hName ));
+BOOLEAN booleanValue PROTOTYPE((JNIEnv * env, jobject aBoolean));
+BOOLEAN jcl_supports_ipv6 PROTOTYPE((JNIEnv * env));
+jobject newJavaLangInteger PROTOTYPE((JNIEnv * env, I_32 anInt));
+BOOLEAN preferIPv4Stack PROTOTYPE((JNIEnv * env));
+char* netLookupErrorString PROTOTYPE((JNIEnv* env, I_32 anErrorNum));
+void netInitializeIDCaches PROTOTYPE((JNIEnv * env, jboolean ipv6_support));
+jobject newJavaLangBoolean PROTOTYPE((JNIEnv * env, BOOLEAN aBool));
+void throwJavaLangIllegalArgumentException PROTOTYPE((JNIEnv* env, I_32 errorNumber));
+void netGetJavaNetInetAddressValue PROTOTYPE((JNIEnv * env, jobject anInetAddress, U_8 *buffer,
U_32 *length));
+void throwJavaIoInterruptedIOException PROTOTYPE((JNIEnv* env, I_32 errorNumber));
+void throwJavaNetSocketTimeoutException PROTOTYPE((JNIEnv* env, I_32 errorNumber));
+void callThreadYield PROTOTYPE((JNIEnv * env));
+void throwJavaNetConnectException PROTOTYPE((JNIEnv* env, I_32 errorNumber));
+void netGetJavaNetInetAddressScopeId PROTOTYPE((JNIEnv * env, jobject anInetAddress, U_32
*scope_id));
+BOOLEAN preferIPv6Addresses PROTOTYPE((JNIEnv * env));
+jobjectArray createAliasArray PROTOTYPE((JNIEnv* env, jbyte **addresses, I_32 *family, U_32
count, char* hName, U_32* scope_id_array ));
+void throwJavaNetSocketException PROTOTYPE((JNIEnv* env, I_32 errorNumber));
+I_32 netGetSockAddr PROTOTYPE((JNIEnv *env, jobject fileDescriptor, hysockaddr_t sockaddrP,
jboolean preferIPv6Addresses));
+
+/* NativesCommonIoHelpers*/
+void* getJavaIoFileDescriptorContentsAsPointer PROTOTYPE((JNIEnv *env, jobject fd));
+void throwNewOutOfMemoryError PROTOTYPE((JNIEnv * env, char * message));
+jint ioh_readcharImpl PROTOTYPE((JNIEnv * env, jobject recv, IDATA descriptor));
+void throwJavaIoIOException PROTOTYPE((JNIEnv * env, char *message));
+void throwJavaIoIOExceptionClosed PROTOTYPE((JNIEnv * env));
+void ioh_convertToPlatform PROTOTYPE((char *path));
+jint new_ioh_available PROTOTYPE((JNIEnv * env, jobject recv, jfieldID fdFID));
+void throwNPException PROTOTYPE((JNIEnv * env, char *message));
+void setJavaIoFileDescriptorContentsAsPointer PROTOTYPE((JNIEnv * env, jobject fd, void *value));
+void ioh_writebytesImpl PROTOTYPE((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
jint count, IDATA descriptor));
+char* ioLookupErrorString PROTOTYPE((JNIEnv* env, I_32 anErrorNum));
+void ioh_writecharImpl PROTOTYPE((JNIEnv *env, jobject recv, jint c, IDATA descriptor));
+jint ioh_readbytesImpl PROTOTYPE((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
jint count, IDATA descriptor));
+void new_ioh_close PROTOTYPE((JNIEnv * env, jobject recv, jfieldID fdFID));
+void throwIndexOutOfBoundsException PROTOTYPE((JNIEnv * env));
+
+/* NativesCommonSocket*/
+void throwSocketException PROTOTYPE((JNIEnv* env, I_32 errorNumber));
+void JNICALL Java_com_ibm_oti_connection_socket_Connection_connectStreamImpl PROTOTYPE((
+	JNIEnv* env, jobject socket, jint localPort, jint remotePort, jbyteArray addr));
+jint JNICALL Java_com_ibm_oti_connection_socket_Connection_sendStreamImpl PROTOTYPE(( JNIEnv
*env, jobject socket, jbyteArray data, jint offset, jint count));
+void JNICALL Java_com_ibm_oti_connection_socket_Connection_connectStreamImpl2 PROTOTYPE((
+	JNIEnv* env, jobject socket, jint localPort, jint remotePort, jbyteArray addr));
+jint JNICALL Java_com_ibm_oti_connection_datagram_Connection_sendDatagramImpl PROTOTYPE((
+	JNIEnv* env, jobject socket, jbyteArray data, jint offset, jint msgLength,
+	jbyteArray addr, jint targetPort));
+jstring JNICALL Java_com_ibm_oti_connection_socket_Socket_getHostByAddrImpl PROTOTYPE((JNIEnv*
env, jclass clazz, jobject addr));
+jint JNICALL Java_com_ibm_oti_connection_datagram_Connection_nominalDatagramImpl PROTOTYPE((
+	JNIEnv* env, jobject socket));
+jobject JNICALL Java_com_ibm_oti_connection_socket_Socket_getHostByNameImpl PROTOTYPE((
+	JNIEnv* env, jclass clazz, jstring aName));
+I_32 conPollSelectRead PROTOTYPE((JNIEnv * env, jobject socket, jint timeout, BOOLEAN poll,
BOOLEAN accept));
+jint JNICALL Java_com_ibm_oti_connection_datagram_Connection_netMaxDatagramImpl PROTOTYPE((
+	JNIEnv* env, jobject recv, jobject datagramSocket));
+void* getSocketDescriptor PROTOTYPE((JNIEnv *env, jobject fd));
+jint JNICALL Java_com_ibm_oti_connection_datagram_Connection_netNominalDatagramImpl PROTOTYPE((
+	JNIEnv* env, jobject recv, jobject datagramSocket));
+void setSocketDescriptor PROTOTYPE((JNIEnv * env, jobject fd, void *value));
+jint JNICALL Java_com_ibm_oti_connection_socket_Socket_getSocketOptionImpl PROTOTYPE((JNIEnv
*env, jobject socket, jint anOption));
+jstring JNICALL Java_java_lang_System_getHostnameImpl PROTOTYPE((
+	JNIEnv* env, jclass clazz));
+void JNICALL Java_com_ibm_oti_connection_socket_Socket_setSocketOptionImpl PROTOTYPE((JNIEnv
*env, jobject socket, jint anOption, jint aValue));
+void JNICALL Java_com_ibm_oti_connection_socket_Socket_socketCloseImpl PROTOTYPE(( JNIEnv
* env, jobject socket));
+jint JNICALL Java_com_ibm_oti_connection_socket_Connection_availableStreamImpl PROTOTYPE((
JNIEnv *env, jobject socket));
+void conUpdateSocket PROTOTYPE((JNIEnv *env, hysockaddr_t sockaddrP, jobject socket, int
remote));
+jint JNICALL Java_com_ibm_oti_connection_socket_Socket_getIPImpl  PROTOTYPE((
+	JNIEnv* env, jclass clazz, jstring aName));
+void JNICALL Java_com_ibm_oti_connection_datagram_Connection_bindDatagramImpl PROTOTYPE((
+	JNIEnv* env, jobject socket, jint localPort));
+jint JNICALL Java_com_ibm_oti_connection_datagram_Connection_maxDatagramImpl PROTOTYPE((
+	JNIEnv* env, jobject socket));
+jint JNICALL Java_com_ibm_oti_connection_socket_Socket_getSocketFlags PROTOTYPE((JNIEnv *env,
jclass thisClz));
+void JNICALL Java_com_ibm_oti_connection_socket_Connection_shutdownSideImpl PROTOTYPE(( JNIEnv
* env, jobject socket, jboolean inputSide));
+jint JNICALL Java_com_ibm_oti_connection_socket_Connection_receiveStreamImpl PROTOTYPE((
JNIEnv *env, jobject socket,
+	jbyteArray data, jint offset, jint count, jint timeout));
+hysocket_t createAndBindSocket PROTOTYPE((JNIEnv* env, jobject socket, int sockType, int
localPort));
+jint JNICALL Java_com_ibm_oti_connection_datagram_Connection_receiveDatagramImpl PROTOTYPE((
JNIEnv *env,
+	jobject socket, jbyteArray data, jint offset, jint msgLength, jint timeout));
+
+/* NativesCommonFileDescriptor*/
+void JNICALL Java_java_io_FileDescriptor_oneTimeInitialization PROTOTYPE((JNIEnv * env, jclass
fdClazz));
+void JNICALL Java_java_io_FileDescriptor_sync PROTOTYPE((JNIEnv * env, jobject recv));
+jboolean JNICALL Java_java_io_FileDescriptor_valid PROTOTYPE((JNIEnv * env, jobject recv));
+
+/* NativesCommonProcess*/
+jint JNICALL Java_com_ibm_oti_lang_ProcessInputStream_availableImpl PROTOTYPE((JNIEnv * env,
jobject recv));
+void JNICALL Java_com_ibm_oti_lang_ProcessInputStream_oneTimeInitialization PROTOTYPE((JNIEnv
* env, jclass clazz));
+void JNICALL Java_com_ibm_oti_lang_SystemProcess_destroyImpl PROTOTYPE((JNIEnv * env, jobject
recv));
+void JNICALL Java_com_ibm_oti_lang_ProcessOutputStream_writeImpl PROTOTYPE((JNIEnv *env,
jobject recv, jbyteArray  buffer, jint offset, jint nbytes,jlong handle));
+jint JNICALL Java_com_ibm_oti_lang_SystemProcess_waitForCompletionImpl PROTOTYPE((JNIEnv
* env, jobject recv));
+void JNICALL Java_com_ibm_oti_lang_SystemProcess_closeImpl PROTOTYPE((JNIEnv * env, jobject
recv));
+void JNICALL Java_com_ibm_oti_lang_ProcessOutputStream_closeImpl PROTOTYPE((JNIEnv *env,
jobject recv));
+void JNICALL Java_com_ibm_oti_lang_ProcessOutputStream_oneTimeInitialization PROTOTYPE((JNIEnv
* env, jclass clazz));
+jint JNICALL Java_com_ibm_oti_lang_ProcessInputStream_readImpl PROTOTYPE((JNIEnv *env, jobject
recv, jbyteArray  buffer, jint offset, jint nbytes, jlong handle));
+void JNICALL Java_com_ibm_oti_lang_ProcessOutputStream_setFDImpl PROTOTYPE((JNIEnv *env,
jobject recv, jobject arg1, jlong arg2));
+void JNICALL Java_com_ibm_oti_lang_ProcessInputStream_closeImpl PROTOTYPE((JNIEnv * env,
jobject recv));
+jlongArray JNICALL Java_com_ibm_oti_lang_SystemProcess_createImpl PROTOTYPE((JNIEnv * env,
jclass clazz, jobject recv,
+	jobjectArray arg1, jobjectArray arg2, jbyteArray dir));
+void JNICALL Java_com_ibm_oti_lang_ProcessInputStream_setFDImpl PROTOTYPE((JNIEnv *env, jobject
recv, jobject arg1, jlong arg2));
+void JNICALL Java_com_ibm_oti_lang_SystemProcess_oneTimeInitialization PROTOTYPE((JNIEnv
* env, jclass clazz));
+
+/* NativesCommonServerSocket*/
+void JNICALL Java_com_ibm_oti_connection_serversocket_Connection_acceptStreamSocketImpl PROTOTYPE((JNIEnv
*env,
+	jobject serversocket, jobject socket, jint timeout));
+void JNICALL Java_com_ibm_oti_connection_serversocket_Connection_listenStreamImpl PROTOTYPE((
+	JNIEnv* env, jobject serversocket, jint localPort, jint backlog));
+void JNICALL Java_com_ibm_oti_connection_serversocket_Connection_acceptStreamSocketImpl2
PROTOTYPE((JNIEnv *env,
+	jobject serversocket, jobject socket, jint timeout));
+
+/* NativesCommonPlainDatagramSocketImpl*/
+jint JNICALL Java_java_net_PlainDatagramSocketImpl_sendDatagramImpl2 PROTOTYPE((
+	JNIEnv* env, jclass thisClz,
+	jobject fileDescriptor, jbyteArray data, jint offset, jint msgLength,
+    jint targetPort, jboolean bindToDevice, jint trafficClass, jobject inetAddress));
+void JNICALL Java_java_net_PlainDatagramSocketImpl_createDatagramSocketImpl PROTOTYPE((
+	JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
+jint JNICALL Java_java_net_PlainDatagramSocketImpl_peekDatagramImpl PROTOTYPE(( JNIEnv *env,
jclass thisClz,
+	jobject fileDescriptor, jobject senderAddress, jint timeout));
+jint JNICALL Java_java_net_PlainDatagramSocketImpl_sendConnectedDatagramImpl PROTOTYPE((
+	JNIEnv* env, jclass thisClz,
+	jobject fileDescriptor, jbyteArray data, jint offset, jint msgLength, jboolean bindToDevice));
+void JNICALL Java_java_net_PlainDatagramSocketImpl_oneTimeInitialization PROTOTYPE((JNIEnv
* env, jclass clazz, jboolean ipv6support ));
+void JNICALL Java_java_net_PlainDatagramSocketImpl_connectDatagramImpl2 PROTOTYPE((JNIEnv
*env, jclass thisClz,
+	jobject fileDescriptor, jint remotePort, jint trafficClass, jobject inetAddress));
+jint JNICALL Java_java_net_PlainDatagramSocketImpl_receiveDatagramImpl2 PROTOTYPE(( JNIEnv
*env, jclass thisClz,
+	jobject fileDescriptor, jobject datagramPacket, jbyteArray data, jint offset, jint msgLength,
jint timeout, jboolean peek));
+jint JNICALL Java_java_net_PlainDatagramSocketImpl_receiveDatagramImpl PROTOTYPE(( JNIEnv
*env, jclass thisClz,
+	jobject fileDescriptor, jobject datagramPacket, jbyteArray data, jint offset, jint msgLength,
jint timeout));
+jboolean JNICALL Java_java_net_PlainDatagramSocketImpl_socketBindImpl2 PROTOTYPE((JNIEnv
*env, jclass thisClz,
+	jobject fileDescriptor, jint localPort,jboolean doDevice, jobject inetAddress));
+void JNICALL Java_java_net_PlainDatagramSocketImpl_disconnectDatagramImpl PROTOTYPE((JNIEnv
*env, jclass thisClz,
+	jobject fileDescriptor));
+jint JNICALL Java_java_net_PlainDatagramSocketImpl_recvConnectedDatagramImpl PROTOTYPE((
JNIEnv *env, jclass thisClz,
+	jobject fileDescriptor, jobject datagramPacket, jbyteArray data, jint offset, jint msgLength,
jint timeout, jboolean peek));
+
+/************************************************************
+ ** COMPONENT: NativesCommonFileSystem
+ ************************************************************/
+/* NativesCommonVMFileSystem*/
+jbyteArray JNICALL Java_com_ibm_oti_vm_VM_getPathFromClassPath PROTOTYPE((JNIEnv * env, jclass
clazz, jint cpIndex));
+jbyteArray JNICALL Java_com_ibm_oti_vm_VM_readManifestFromClassPath PROTOTYPE((JNIEnv * env,
jclass clazz, jint cpIndex));
+jbyteArray JNICALL Java_com_ibm_oti_vm_VM_readZip PROTOTYPE((JNIEnv * env, jclass clazz,
jbyteArray zipName, jstring fileNameString));
+jbyteArray JNICALL Java_com_ibm_oti_vm_VM_readZipFromClassPath PROTOTYPE((JNIEnv * env, jclass
clazz, jint cpIndex, jstring fileNameString));
+jbyteArray JNICALL Java_com_ibm_oti_vm_VM_readManifest PROTOTYPE((JNIEnv * env, jclass clazz,
jbyteArray zipName));
+
+/************************************************************
+ ** COMPONENT: NativesUNIX
+ ************************************************************/
+/* NativesUNIXHelpers*/
+int platformReadLink PROTOTYPE((char *link));
+jbyteArray getPlatformPath PROTOTYPE((JNIEnv *env, jbyteArray path));
+void setDefaultServerSocketOptions PROTOTYPE((JNIEnv *env, hysocket_t socketP));
+I_32 getPlatformRoots PROTOTYPE((char *rootStrings));
+char * getCommports  PROTOTYPE((JNIEnv * env));
+jint getPlatformDatagramNominalSize PROTOTYPE((JNIEnv *env, hysocket_t socketP));
+I_32 getPlatformIsHidden PROTOTYPE((JNIEnv *env, char * path));
+jstring getCustomTimeZoneInfo PROTOTYPE((JNIEnv *env, jintArray tzinfo, jbooleanArray isCustomTimeZone));
+jint getPlatformDatagramMaxSize PROTOTYPE((JNIEnv *env, hysocket_t socketP));
+I_32 getPlatformIsWriteOnly PROTOTYPE((JNIEnv *env, char * path));
+I_32 setPlatformFileLength PROTOTYPE((JNIEnv *env, IDATA descriptor,jlong newLength));
+I_32 getPlatformIsReadOnly PROTOTYPE((JNIEnv *env, char * path));
+void setPlatformBindOptions PROTOTYPE((JNIEnv *env, hysocket_t socketP));
+I_32 setPlatformLastModified PROTOTYPE((JNIEnv *env, char * path, I_64 time));
+I_32 setPlatformReadOnly PROTOTYPE((JNIEnv *env, char * path));
+
+/* NativesUNIXcomm*/
+jint baudValueToConst PROTOTYPE((jint baudRate));
+jint baudConstToValue PROTOTYPE((jint baudRate));
+
+/* NativesUNIXSystemHelpers*/
+char *getPlatformFileEncoding PROTOTYPE((JNIEnv * env, char *codepageProp, int propSize));
+char * getTmpDir PROTOTYPE((JNIEnv *env, char**envSpace));
+jobject getPlatformPropertyList PROTOTYPE((JNIEnv * env, const char *strings[], int propIndex));
+void mapLibraryToPlatformName PROTOTYPE((const char *inPath, char *outPath));
+
+/************************************************************
+ ** COMPONENT: harmonyNativesCommon
+ ************************************************************/
+/* NativesCommonFloatAndDouble*/
+JNIEXPORT jlong JNICALL Java_java_lang_Double_doubleToLongBits PROTOTYPE((JNIEnv *env, jclass
cls, jdouble doubleValue));
+JNIEXPORT jint JNICALL Java_java_lang_Float_floatToIntBits PROTOTYPE((JNIEnv *env, jclass
cls, jfloat floatValue));
+JNIEXPORT jint JNICALL Java_java_lang_Float_floatToRawIntBits PROTOTYPE((JNIEnv *env, jclass
cls, jfloat floatValue));
+JNIEXPORT jdouble JNICALL Java_java_lang_Double_longBitsToDouble PROTOTYPE((JNIEnv *env,
jclass cls, jlong longValue));
+JNIEXPORT jlong JNICALL Java_java_lang_Double_doubleToRawLongBits PROTOTYPE((JNIEnv *env,
jclass cls, jdouble doubleValue));
+JNIEXPORT jfloat JNICALL Java_java_lang_Float_intBitsToFloat PROTOTYPE((JNIEnv *env, jclass
cls, jint intValue));
+
+/* harmonyNativesCommonMath*/
+jdouble JNICALL Java_java_lang_Math_asin PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_StrictMath_rint PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_StrictMath_atan PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_Math_exp PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_StrictMath_tan PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_Math_rint PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_StrictMath_ceil PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_StrictMath_IEEEremainder PROTOTYPE((JNIEnv *env, jclass jclazz,
jdouble arg1, jdouble arg2));
+jdouble JNICALL Java_java_lang_Math_floor PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_StrictMath_sin PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_Math_log PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_Math_acos PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_Math_ceil PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_StrictMath_sqrt PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_Math_pow PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1,
jdouble arg2));
+jdouble JNICALL Java_java_lang_StrictMath_exp PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_StrictMath_acos PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_StrictMath_floor PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_StrictMath_cos PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_Math_cos PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_Math_sqrt PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_Math_tan PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_Math_sin PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_StrictMath_pow PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1, jdouble arg2));
+jdouble JNICALL Java_java_lang_StrictMath_asin PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_StrictMath_atan2 PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1, jdouble arg2));
+jdouble JNICALL Java_java_lang_Math_IEEEremainder PROTOTYPE((JNIEnv *env, jclass jclazz,
jdouble arg1, jdouble arg2));
+jdouble JNICALL Java_java_lang_StrictMath_log PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1));
+jdouble JNICALL Java_java_lang_Math_atan PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble arg1));
+jdouble JNICALL Java_java_lang_Math_atan2 PROTOTYPE((JNIEnv *env, jclass jclazz, jdouble
arg1, jdouble arg2));
+
+/* harmonyNativesLUNIGlobals*/
+jint JNICALL JNI_OnLoad PROTOTYPE((JavaVM * vm, void *reserved));
+void JNICALL JNI_OnUnload PROTOTYPE((JavaVM * vm, void *reserved));
+
+/* harmonyNativesLibGlobals*/
+jint JNICALL ClearLibAttach PROTOTYPE((JNIEnv *env));
+void JNICALL ClearLibDetach PROTOTYPE((JNIEnv *env));
+
+/* BBharmonyNativesMathGlobals*/
+jint JNICALL JNI_OnLoad PROTOTYPE((JavaVM * vm, void *reserved));
+void JNICALL JNI_OnUnload PROTOTYPE((JavaVM * vm, void *reserved));
+
+/* BBharmonyNativesArchiveGlobals*/
+jint JNICALL JNI_OnLoad PROTOTYPE((JavaVM * vm, void *reserved));
+void JNICALL JNI_OnUnload PROTOTYPE((JavaVM * vm, void *reserved));
+
+#if defined(__cplusplus)
+}
+#endif
+
+#endif /* JCLPROTS_H */



Mime
View raw message