1 /* This file was generated from sun/nio/ch/ServerSocketChannelImpl.java and is 2 * licensed under the same terms. The copyright and license information for 3 * sun/nio/ch/ServerSocketChannelImpl.java follows. 4 * 5 * Copyright (c) 2000, 2012, 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 /* DO NOT EDIT THIS FILE - it is machine generated */ 29 #include <jni.h> 30 /* Header for class sun_nio_ch_ServerSocketChannelImpl */ 31 32 #ifndef _Included_sun_nio_ch_ServerSocketChannelImpl 33 #define _Included_sun_nio_ch_ServerSocketChannelImpl 34 #ifdef __cplusplus 35 extern "C" { 36 #endif 37 #undef sun_nio_ch_ServerSocketChannelImpl_ST_UNINITIALIZED 38 #define sun_nio_ch_ServerSocketChannelImpl_ST_UNINITIALIZED -1L 39 #undef sun_nio_ch_ServerSocketChannelImpl_ST_INUSE 40 #define sun_nio_ch_ServerSocketChannelImpl_ST_INUSE 0L 41 #undef sun_nio_ch_ServerSocketChannelImpl_ST_KILLED 42 #define sun_nio_ch_ServerSocketChannelImpl_ST_KILLED 1L 43 /* 44 * Class: sun_nio_ch_ServerSocketChannelImpl 45 * Method: accept0 46 * Signature: (Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;[Ljava/net/InetSocketAddress;)I 47 */ 48 JNIEXPORT jint JNICALL ServerSocketChannelImpl_accept0 49 (JNIEnv *, jobject, jobject, jobject, jobjectArray); 50 51 /* 52 * Class: sun_nio_ch_ServerSocketChannelImpl 53 * Method: initIDs 54 * Signature: ()V 55 */ 56 JNIEXPORT void JNICALL ServerSocketChannelImpl_initIDs 57 (JNIEnv *, jclass); 58 59 #ifdef __cplusplus 60 } 61 #endif 62 #endif 63