1 /* This file was generated from java/net/Inet4AddressImpl.java and 2 * is licensed under the same terms. The copyright and license information 3 * for java/net/Inet4AddressImpl.java follows. 4 * 5 * Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved. 6 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7 * 8 * This code is free software; you can redistribute it and/or modify it 9 * under the terms of the GNU General Public License version 2 only, as 10 * published by the Free Software Foundation. Oracle designates this 11 * particular file as subject to the "Classpath" exception as provided 12 * by Oracle in the LICENSE file that accompanied this code. 13 * 14 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 17 * version 2 for more details (a copy is included in the LICENSE file that 18 * accompanied this code). 19 * 20 * You should have received a copy of the GNU General Public License version 21 * 2 along with this work; if not, write to the Free Software Foundation, 22 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 23 * 24 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 25 * or visit www.oracle.com if you need additional information or have any 26 * questions. 27 */ 28 29 /* DO NOT EDIT THIS FILE - it is machine generated */ 30 #include <jni.h> 31 /* Header for class java_net_Inet4AddressImpl */ 32 33 #ifndef _Included_java_net_Inet4AddressImpl 34 #define _Included_java_net_Inet4AddressImpl 35 #ifdef __cplusplus 36 extern "C" { 37 #endif 38 /* 39 * Class: java_net_Inet4AddressImpl 40 * Method: getLocalHostName 41 * Signature: ()Ljava/lang/String; 42 */ 43 JNIEXPORT jstring JNICALL Inet4AddressImpl_getLocalHostName 44 (JNIEnv *, jobject); 45 46 /* 47 * Class: java_net_Inet4AddressImpl 48 * Method: lookupAllHostAddr 49 * Signature: (Ljava/lang/String;)[Ljava/net/InetAddress; 50 */ 51 JNIEXPORT jobjectArray JNICALL Inet4AddressImpl_lookupAllHostAddr 52 (JNIEnv *, jobject, jstring); 53 54 /* 55 * Class: java_net_Inet4AddressImpl 56 * Method: getHostByAddr 57 * Signature: ([B)Ljava/lang/String; 58 */ 59 JNIEXPORT jstring JNICALL Inet4AddressImpl_getHostByAddr 60 (JNIEnv *, jobject, jbyteArray); 61 62 /* 63 * Class: java_net_Inet4AddressImpl 64 * Method: isReachable0 65 * Signature: ([BI[BI)Z 66 */ 67 JNIEXPORT jboolean JNICALL Inet4AddressImpl_isReachable0 68 (JNIEnv *, jobject, jbyteArray, jint, jbyteArray, jint); 69 70 #ifdef __cplusplus 71 } 72 #endif 73 #endif 74