harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r720152 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.h
Date Mon, 24 Nov 2008 10:24:53 GMT
Author: tellison
Date: Mon Nov 24 02:24:53 2008
New Revision: 720152

URL: http://svn.apache.org/viewvc?rev=720152&view=rev
Log:
Regenerated OSNetworkSystem header definitions as sanity check that Java definitions still
match native functions.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.h

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.h?rev=720152&r1=720151&r2=720152&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.h
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.h
Mon Nov 24 02:24:53 2008
@@ -61,409 +61,446 @@
 #ifdef __cplusplus
 extern "C" {
 #endif
+
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    oneTimeInitializationDatagram
- * Signature: (Z)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    accept
+ * Signature: (Ljava/io/FileDescriptor;Ljava/net/SocketImpl;Ljava/io/FileDescriptor;I)V
+ * Throws:    java.io.IOException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_oneTimeInitializationDatagram
-  (JNIEnv *, jclass, jboolean);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_accept
+  (JNIEnv *, jobject, jobject, jobject, jobject, jint);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    oneTimeInitializationSocket
- * Signature: (Z)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    acceptStreamSocket
+ * Signature: (Ljava/io/FileDescriptor;Ljava/net/SocketImpl;Ljava/io/FileDescriptor;I)V
+ * Throws:    java.io.IOException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_oneTimeInitializationSocket
-  (JNIEnv *, jclass, jboolean);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_acceptStreamSocket
+  (JNIEnv *, jobject, jobject, jobject, jobject, jint);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    createSocket
- * Signature: (Ljava/io/FileDescriptor;Z)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    availableStream
+ * Signature: (Ljava/io/FileDescriptor;)I
+ * Throws:    java.net.SocketException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_createSocket
-  (JNIEnv *, jobject, jobject, jboolean);
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_availableStream
+  (JNIEnv *, jobject, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    createDatagramSocket
- * Signature: (Ljava/io/FileDescriptor;Z)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    bind
+ * Signature: (Ljava/io/FileDescriptor;ILjava/net/InetAddress;)V
+ * Throws:    java.net.SocketException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_createDatagramSocket
-  (JNIEnv *, jobject, jobject, jboolean);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_bind
+  (JNIEnv *, jobject, jobject, jint, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    read
- * Signature: (Ljava/io/FileDescriptor;[BIII)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    bind2
+ * Signature: (Ljava/io/FileDescriptor;IZLjava/net/InetAddress;)Z
+ * Throws:    java.net.SocketException
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_read
-  (JNIEnv *, jobject, jobject, jbyteArray, jint, jint, jint);
+JNIEXPORT jboolean JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_bind2
+  (JNIEnv *, jobject, jobject, jint, jboolean, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    readDirect
- * Signature: (Ljava/io/FileDescriptor;JII)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    connect
+ * Signature: (Ljava/io/FileDescriptor;ILjava/net/InetAddress;I)I
+ * Throws:    java.io.IOException
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_readDirect
-  (JNIEnv *, jobject, jobject, jlong, jint, jint);
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_connect
+  (JNIEnv *, jobject, jobject, jint, jobject, jint);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    write
- * Signature: (Ljava/io/FileDescriptor;[BII)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    connectDatagram
+ * Signature: (Ljava/io/FileDescriptor;IILjava/net/InetAddress;)V
+ * Throws:    java.net.SocketException
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_write
-  (JNIEnv *, jobject, jobject, jbyteArray, jint, jint);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_connectDatagram
+  (JNIEnv *, jobject, jobject, jint, jint, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    writeDirect
- * Signature: (Ljava/io/FileDescriptor;JI)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    connectStreamWithTimeoutSocket
+ * Signature: (Ljava/io/FileDescriptor;IIILjava/net/InetAddress;)V
+ * Throws:    java.io.IOException
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_writeDirect
-  (JNIEnv *, jobject, jobject, jlong, jint);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_connectStreamWithTimeoutSocket
+  (JNIEnv *, jobject, jobject, jint, jint, jint, jobject);
+
+/*
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    connectWithTimeout
+ * Signature: (Ljava/io/FileDescriptor;IILjava/net/InetAddress;IILjava/lang/Long;)I
+ * Throws:    java.io.IOException
+ */
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_connectWithTimeout
+  (JNIEnv *, jobject, jobject, jint, jint, jobject, jint, jint, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    setNonBlockingImpl
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    createDatagramSocket
  * Signature: (Ljava/io/FileDescriptor;Z)V
+ * Throws:    java.net.SocketException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_setNonBlocking
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_createDatagramSocket
   (JNIEnv *, jobject, jobject, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    connectSocketImpl
- * Signature: (Ljava/io/FileDescriptor;ILjava/net/InetAddress;I)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    createMulticastSocket
+ * Signature: (Ljava/io/FileDescriptor;Z)V
+ * Throws:    java.net.SocketException
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_connect
-  (JNIEnv *, jobject, jobject, jint, jobject, jint);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_createMulticastSocket
+  (JNIEnv *, jobject, jobject, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    connectWithTimeout
- * Signature: (Ljava/io/FileDescriptor;IILjava/net/InetAddress;IILjava/lang/Long;)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    createServerStreamSocket
+ * Signature: (Ljava/io/FileDescriptor;Z)V
+ * Throws:    java.net.SocketException
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_connectWithTimeout
-  (JNIEnv *, jobject, jobject, jint, jint, jobject, jint, jint, jobject);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_createServerStreamSocket
+  (JNIEnv *, jobject, jobject, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    connectStreamWithTimeoutSocket
- * Signature: (Ljava/io/FileDescriptor;IIILjava/net/InetAddress;)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    createSocket
+ * Signature: (Ljava/io/FileDescriptor;Z)V
+ * Throws:    java.io.IOException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_connectStreamWithTimeoutSocket
-  (JNIEnv *, jobject, jobject, jint, jint, jint, jobject);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_createSocket
+  (JNIEnv *, jobject, jobject, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    bind
- * Signature: (Ljava/io/FileDescriptor;ILjava/net/InetAddress;)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    createStreamSocket
+ * Signature: (Ljava/io/FileDescriptor;Z)V
+ * Throws:    java.net.SocketException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_bind
-  (JNIEnv *, jobject, jobject, jint, jobject);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_createStreamSocket
+  (JNIEnv *, jobject, jobject, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    listenStreamSocket
- * Signature: (Ljava/io/FileDescriptor;I)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    disconnectDatagram
+ * Signature: (Ljava/io/FileDescriptor;)V
+ * Throws:    java.net.SocketException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_listenStreamSocket
-  (JNIEnv *, jobject, jobject, jint);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_disconnectDatagram
+  (JNIEnv *, jobject, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    availableStream
- * Signature: (Ljava/io/FileDescriptor;)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    getHostByAddr
+ * Signature: ([B)Ljava/net/InetAddress;
+ * Throws:    java.net.UnknownHostException
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_availableStream
-  (JNIEnv *, jobject, jobject);
+JNIEXPORT jobject JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getHostByAddr
+  (JNIEnv *, jobject, jbyteArray);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    accept
- * Signature: (Ljava/io/FileDescriptor;Ljava/net/SocketImpl;Ljava/io/FileDescriptor;I)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    getHostByName
+ * Signature: (Ljava/lang/String;Z)Ljava/net/InetAddress;
+ * Throws:    java.net.UnknownHostException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_accept
-  (JNIEnv *, jobject, jobject, jobject, jobject, jint);
+JNIEXPORT jobject JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getHostByName
+  (JNIEnv *, jobject, jstring, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    supportsUrgentData
- * Signature: (Ljava/io/FileDescriptor;)Z
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    getSocketFlags
+ * Signature: ()I
  */
-JNIEXPORT jboolean JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_supportsUrgentData
-  (JNIEnv *, jobject, jobject);
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getSocketFlags
+  (JNIEnv *, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    sendUrgentData
- * Signature: (Ljava/io/FileDescriptor;B)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    getSocketLocalAddress
+ * Signature: (Ljava/io/FileDescriptor;Z)Ljava/net/InetAddress;
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendUrgentData
-  (JNIEnv *, jobject, jobject, jbyte);
+JNIEXPORT jobject JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getSocketLocalAddress
+  (JNIEnv *, jobject, jobject, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    connectDatagram
- * Signature: (Ljava/io/FileDescriptor;IILjava/net/InetAddress;)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    getSocketLocalPort
+ * Signature: (Ljava/io/FileDescriptor;Z)I
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_connectDatagram
-  (JNIEnv *, jobject, jobject, jint, jint, jobject);
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getSocketLocalPort
+  (JNIEnv *, jobject, jobject, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    disconnectDatagram
- * Signature: (Ljava/io/FileDescriptor;)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    getSocketOption
+ * Signature: (Ljava/io/FileDescriptor;I)Ljava/lang/Object;
+ * Throws:    java.net.SocketException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_disconnectDatagram
-  (JNIEnv *, jobject, jobject);
+JNIEXPORT jobject JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getSocketOption
+  (JNIEnv *, jobject, jobject, jint);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    bind2
- * Signature: (Ljava/io/FileDescriptor;IZLjava/net/InetAddress;)Z
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    inheritedChannel
+ * Signature: ()Ljava/nio/channels/Channel;
  */
-JNIEXPORT jboolean JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_bind2
-  (JNIEnv *, jobject, jobject, jint, jboolean, jobject);
+JNIEXPORT jobject JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_inheritedChannel
+  (JNIEnv *, jobject);
+
+/*
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    isReachableByICMPImpl
+ * Signature: (Ljava/net/InetAddress;Ljava/net/InetAddress;II)I
+ */
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_isReachableByICMPImpl
+  (JNIEnv *, jobject, jobject, jobject, jint, jint);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    listenStreamSocket
+ * Signature: (Ljava/io/FileDescriptor;I)V
+ * Throws:    java.net.SocketException
+ */
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_listenStreamSocket
+  (JNIEnv *, jobject, jobject, jint);
+
+/*
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    oneTimeInitializationImpl
+ * Signature: (Z)V
+ */
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_oneTimeInitializationImpl
+  (JNIEnv *, jobject, jboolean);
+
+/*
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
  * Method:    peekDatagram
  * Signature: (Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)I
+ * Throws:    java.io.IOException
  */
 JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_peekDatagram
   (JNIEnv *, jobject, jobject, jobject, jint);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    read
+ * Signature: (Ljava/io/FileDescriptor;[BIII)I
+ * Throws:    java.io.IOException
+ */
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_read
+  (JNIEnv *, jobject, jobject, jbyteArray, jint, jint, jint);
+
+/*
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    readDirect
+ * Signature: (Ljava/io/FileDescriptor;JII)I
+ * Throws:    java.io.IOException
+ */
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_readDirect
+  (JNIEnv *, jobject, jobject, jlong, jint, jint);
+
+/*
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
  * Method:    receiveDatagram
  * Signature: (Ljava/io/FileDescriptor;Ljava/net/DatagramPacket;[BIIIZ)I
+ * Throws:    java.io.IOException
  */
 JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_receiveDatagram
   (JNIEnv *, jobject, jobject, jobject, jbyteArray, jint, jint, jint, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
  * Method:    receiveDatagramDirect
  * Signature: (Ljava/io/FileDescriptor;Ljava/net/DatagramPacket;JIIIZ)I
+ * Throws:    java.io.IOException
  */
 JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_receiveDatagramDirect
   (JNIEnv *, jobject, jobject, jobject, jlong, jint, jint, jint, jboolean);
-  
+
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    receiveStream
+ * Signature: (Ljava/io/FileDescriptor;[BIII)I
+ * Throws:    java.io.IOException
+ */
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_receiveStream
+  (JNIEnv *, jobject, jobject, jbyteArray, jint, jint, jint);
+
+/*
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
  * Method:    recvConnectedDatagram
  * Signature: (Ljava/io/FileDescriptor;Ljava/net/DatagramPacket;[BIIIZ)I
+ * Throws:    java.io.IOException
  */
 JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_recvConnectedDatagram
   (JNIEnv *, jobject, jobject, jobject, jbyteArray, jint, jint, jint, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
  * Method:    recvConnectedDatagramDirect
  * Signature: (Ljava/io/FileDescriptor;Ljava/net/DatagramPacket;JIIIZ)I
+ * Throws:    java.io.IOException
  */
 JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_recvConnectedDatagramDirect
   (JNIEnv *, jobject, jobject, jobject, jlong, jint, jint, jint, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    sendDatagram
- * Signature: (Ljava/io/FileDescriptor;[BIIIZILjava/net/InetAddress;)I
- */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendDatagram
-  (JNIEnv *, jobject, jobject, jbyteArray, jint, jint, jint, jboolean, jint, jobject);
-
-/*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    sendDatagramDirect
- * Signature: (Ljava/io/FileDescriptor;JIIIZILjava/net/InetAddress;)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    selectImpl
+ * Signature: ([Ljava/io/FileDescriptor;[Ljava/io/FileDescriptor;II[IJ)I
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendDatagramDirect
-  (JNIEnv *, jobject, jobject, jlong, jint, jint, jint, jboolean, jint, jobject);
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_selectImpl
+  (JNIEnv *, jobject, jobjectArray, jobjectArray, jint, jint, jintArray, jlong);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
  * Method:    sendConnectedDatagram
  * Signature: (Ljava/io/FileDescriptor;[BIIZ)I
+ * Throws:    java.io.IOException
  */
 JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendConnectedDatagram
   (JNIEnv *, jobject, jobject, jbyteArray, jint, jint, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
  * Method:    sendConnectedDatagramDirect
  * Signature: (Ljava/io/FileDescriptor;JIIZ)I
+ * Throws:    java.io.IOException
  */
 JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendConnectedDatagramDirect
-  (JNIEnv *, jobject, jobject, jlong, jint, jint, jboolean);  
+  (JNIEnv *, jobject, jobject, jlong, jint, jint, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    createServerStreamSocket
- * Signature: (Ljava/io/FileDescriptor;Z)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    sendDatagram
+ * Signature: (Ljava/io/FileDescriptor;[BIIIZILjava/net/InetAddress;)I
+ * Throws:    java.io.IOException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_createServerStreamSocket
-  (JNIEnv *, jobject, jobject, jboolean);
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendDatagram
+  (JNIEnv *, jobject, jobject, jbyteArray, jint, jint, jint, jboolean, jint, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    createMulticastSocket
- * Signature: (Ljava/io/FileDescriptor;Z)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    sendDatagram2
+ * Signature: (Ljava/io/FileDescriptor;[BIIILjava/net/InetAddress;)I
+ * Throws:    java.io.IOException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_createMulticastSocket
-  (JNIEnv *, jobject, jobject, jboolean);
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendDatagram2
+  (JNIEnv *, jobject, jobject, jbyteArray, jint, jint, jint, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    receiveStream
- * Signature: (Ljava/io/FileDescriptor;[BIII)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    sendDatagramDirect
+ * Signature: (Ljava/io/FileDescriptor;JIIIZILjava/net/InetAddress;)I
+ * Throws:    java.io.IOException
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_receiveStream
-  (JNIEnv *, jobject, jobject, jbyteArray, jint, jint, jint);
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendDatagramDirect
+  (JNIEnv *, jobject, jobject, jlong, jint, jint, jint, jboolean, jint, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
  * Method:    sendStream
  * Signature: (Ljava/io/FileDescriptor;[BII)I
+ * Throws:    java.io.IOException
  */
 JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendStream
   (JNIEnv *, jobject, jobject, jbyteArray, jint, jint);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    shutdownInput
- * Signature: (Ljava/io/FileDescriptor;)V
- */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_shutdownInput
-  (JNIEnv *, jobject, jobject);
-
-/*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    shutdownOutput
- * Signature: (Ljava/io/FileDescriptor;)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    sendUrgentData
+ * Signature: (Ljava/io/FileDescriptor;B)V
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_shutdownOutput
-  (JNIEnv *, jobject, jobject);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendUrgentData
+  (JNIEnv *, jobject, jobject, jbyte);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    acceptStreamSocket
- * Signature: (Ljava/io/FileDescriptor;Ljava/net/SocketImpl;Ljava/io/FileDescriptor;I)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    setInetAddress
+ * Signature: (Ljava/net/InetAddress;[B)V
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_acceptStreamSocket
-  (JNIEnv *, jobject, jobject, jobject, jobject, jint);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_setInetAddress
+  (JNIEnv *, jobject, jobject, jbyteArray);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    createStreamSocket
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    setNonBlocking
  * Signature: (Ljava/io/FileDescriptor;Z)V
+ * Throws:    java.io.IOException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_createStreamSocket
-  (JNIEnv *, jobject, jobject, jboolean);
-
-/*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    sendDatagram2
- * Signature: (Ljava/io/FileDescriptor;[BIIILjava/net/InetAddress;)I
- */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_sendDatagram2
-  (JNIEnv *, jobject, jobject, jbyteArray, jint, jint, jint, jobject);
-
-/*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    selectImpl
- * Signature: ([Ljava/io/FileDescriptor;[Ljava/io/FileDescriptor;II[IJ)I
- */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_selectImpl
-  (JNIEnv *, jobject, jobjectArray, jobjectArray, jint, jint, jintArray, jlong);
-
-  /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    getSocketLocalAddress
- * Signature: (Ljava/io/FileDescriptor;Z)Ljava/net/InetAddress;
- */
-JNIEXPORT jobject JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getSocketLocalAddress
-  (JNIEnv *, jobject, jobject, jboolean);
-
-/*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    getSocketLocalPort
- * Signature: (Ljava/io/FileDescriptor;Z)I
- */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getSocketLocalPort
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_setNonBlocking
   (JNIEnv *, jobject, jobject, jboolean);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    getSocketOption
- * Signature: (Ljava/io/FileDescriptor;I)Ljava/lang/Object;
- */
-JNIEXPORT jobject JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getSocketOption
-  (JNIEnv *, jobject, jobject, jint);
-
-/*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
  * Method:    setSocketOption
  * Signature: (Ljava/io/FileDescriptor;ILjava/lang/Object;)V
+ * Throws:    java.net.SocketException
  */
 JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_setSocketOption
   (JNIEnv *, jobject, jobject, jint, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    getSocketFlags
- * Signature: ()I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    shutdownInput
+ * Signature: (Ljava/io/FileDescriptor;)V
+ * Throws:    java.io.IOException
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getSocketFlags
-  (JNIEnv *, jclass);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_shutdownInput
+  (JNIEnv *, jobject, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    socketClose
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    shutdownOutput
  * Signature: (Ljava/io/FileDescriptor;)V
+ * Throws:    java.io.IOException
  */
-JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_socketClose
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_shutdownOutput
   (JNIEnv *, jobject, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    getHostByAddr
- * Signature: ([B)Ljava/net/InetAddress;
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    socketClose
+ * Signature: (Ljava/io/FileDescriptor;)V
+ * Throws:    java.io.IOException
  */
-JNIEXPORT jobject JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getHostByAddr
-  (JNIEnv *, jobject, jbyteArray);
+JNIEXPORT void JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_socketClose
+  (JNIEnv *, jobject, jobject);
 
-JNIEXPORT jobject JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_getHostByName
-  (JNIEnv *, jobject, jstring,jboolean);
-  
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    isReachableByICMPImpl
- * Signature: ([BII)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    supportsUrgentData
+ * Signature: (Ljava/io/FileDescriptor;)Z
  */
-JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_isReachableByICMPImpl
-  (JNIEnv *, jobject, jobject, jobject, jint, jint);
+JNIEXPORT jboolean JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_supportsUrgentData
+  (JNIEnv *, jobject, jobject);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    inheritedChannel
- * Signature: ([BII)I
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    write
+ * Signature: (Ljava/io/FileDescriptor;[BII)I
+ * Throws:    java.io.IOException
  */
-JNIEXPORT jobject JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_inheritedChannel
-  (JNIEnv *, jobject);
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_write
+  (JNIEnv *, jobject, jobject, jbyteArray, jint, jint);
 
 /*
- * Class:     org_apache_harmony_luni_platform_OSNetworkSystem
- * Method:    setInetAddress
- * Signature: (Ljava/net/InetAddress;[B)V
+ * Class:     org.apache.harmony.luni.platform.OSNetworkSystem
+ * Method:    writeDirect
+ * Signature: (Ljava/io/FileDescriptor;JI)I
+ * Throws:    java.io.IOException
  */
-JNIEXPORT void JNICALL
-Java_org_apache_harmony_luni_platform_OSNetworkSystem_setInetAddress
-(JNIEnv *, jobject, jobject, jbyteArray);
+JNIEXPORT jint JNICALL Java_org_apache_harmony_luni_platform_OSNetworkSystem_writeDirect
+  (JNIEnv *, jobject, jobject, jlong, jint);
 
 #ifdef __cplusplus
 }



Mime
View raw message