/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */

#ifdef JCGO_116

#define gnu_java_net_VMPlainSocketImpl__MAX_IP_SIZE (jint)16

#define gnu_java_net_VMPlainSocketImpl__DEFAULT_TIMEOUT ((jint)30 * (jint)1000)

#define gnu_java_net_VMPlainSocketImpl__EMPTY_FDS ((jintArr)JCGO_OBJREF_OF(jcgo_array2_VMPlScIm))

#define gnu_java_net_VMPlainSocketImpl__EMPTY_BUF ((jbyteArr)JCGO_OBJREF_OF(jcgo_array3_VMPlScIm))

JCGO_NOSEP_INLINE void CFASTCALL
gnu_java_net_VMPlainSocketImpl__void( gnu_java_net_VMPlainSocketImpl
 This );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketsInit0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketsInit0)(
 JNIEnv *pJniEnv, jclass This );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketsInit0__( void );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_isSocketErrResetConn0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_isSocketErrResetConn0)(
 JNIEnv *pJniEnv, jclass This, jint res );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__isSocketErrResetConn0__I( jint res
 );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketCreate0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketCreate0)(
 JNIEnv *pJniEnv, jclass This, jintArray resArr, jint stream );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketCreate0__IAI( jintArr resArr,
 jint stream );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_isSocketErrNoResources0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_isSocketErrNoResources0)(
 JNIEnv *pJniEnv, jclass This, jint res );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__isSocketErrNoResources0__I( jint res
 );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketClose0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketClose0)(
 JNIEnv *pJniEnv, jclass This, jint fd );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketClose0__I( jint fd );

JCGO_NOSEP_INLINE void CFASTCALL
gnu_java_net_VMPlainSocketImpl__checkIOSockResCode__I( jint res );

JCGO_NOSEP_INLINE void CFASTCALL
gnu_java_net_VMPlainSocketImpl__checkThreadInterrupted__( void );

JCGO_NOSEP_INLINE jlong CFASTCALL
gnu_java_net_VMPlainSocketImpl__getDeadlineTime__I( jint timeout );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketShutdown0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketShutdown0)(
 JNIEnv *pJniEnv, jclass This, jint fd, jint input, jint output );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketShutdown0__III( jint fd, jint
 input, jint output );

JCGO_NOSEP_INLINE void CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketShutdown__IZZ( jint fd, jboolean
 input, jboolean output );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_isSocketErrConnRefused0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_isSocketErrConnRefused0)(
 JNIEnv *pJniEnv, jclass This, jint res );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__isSocketErrConnRefused0__I( jint res
 );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketBind0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketBind0)(
 JNIEnv *pJniEnv, jclass This, jint fd, jbyteArray ip, jint iplen,
 jint port );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketBind0__IBAII( jbyteArr ip, jint
 fd, jint iplen, jint port );

JCGO_NOSEP_INLINE void CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketBind__IL7lnuwI( java_net_InetAddress
 addr, jint fd, jint port );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketGetLocalAddrPort0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketGetLocalAddrPort0)(
 JNIEnv *pJniEnv, jclass This, jint fd, jbyteArray ip, jint ipmaxlen,
 jintArray portArr );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketGetLocalAddrPort0__IBAIIA( jbyteArr
 ip, jintArr portArr, jint fd, jint ipmaxlen );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketAvailable0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketAvailable0)(
 JNIEnv *pJniEnv, jclass This, jint fd );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketAvailable0__I( jint fd );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketRecvFrom0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketRecvFrom0)(
 JNIEnv *pJniEnv, jclass This, jint fd, jbyteArray buffer, jint off,
 jint len, jint urgent, jint peek, jbyteArray ip, jint ipmaxlen, jintArray
 iplenPortArr );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketRecvFrom0__IBAIIIIBAIIA( jbyteArr
 buffer, jbyteArr ip, jintArr iplenPortArr, jint fd, jint off, jint
 len, jint urgent, jint peek, jint ipmaxlen );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketSendTo0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketSendTo0)(
 JNIEnv *pJniEnv, jclass This, jint fd, jbyteArray buffer, jint off,
 jint len, jint urgent, jbyteArray ip, jint iplen, jint port );
#endif
JCGO_NOSEP_INLINE jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketSendTo0__IBAIIIBAII( jbyteArr
 buffer, jbyteArr ip, jint fd, jint off, jint len, jint urgent, jint
 iplen, jint port );

JCGO_NOSEP_STATIC gnu_java_net_VMPlainSocketImpl CFASTCALL
gnu_java_net_VMPlainSocketImpl__this__( gnu_java_net_VMPlainSocketImpl
 This );
JCGO_NOSEP_INLINE gnu_java_net_VMPlainSocketImpl CFASTCALL
gnu_java_net_VMPlainSocketImpl__new__( void );

JCGO_NOSEP_INLINE gnu_java_net_VMPlainSocketImpl_State CFASTCALL
gnu_java_net_VMPlainSocketImpl__getState__( gnu_java_net_VMPlainSocketImpl
 This );

JCGO_NOSEP_STATIC void CFASTCALL
gnu_java_net_VMPlainSocketImpl__setOption__ILo( gnu_java_net_VMPlainSocketImpl
 This, java_lang_Object value, jint optionId );

JCGO_NOSEP_INLINE void CFASTCALL
gnu_java_net_VMPlainSocketImpl__bind__L5zjct( gnu_java_net_VMPlainSocketImpl
 This, java_net_InetSocketAddress address );

JCGO_NOSEP_INLINE void CFASTCALL
gnu_java_net_VMPlainSocketImpl__close__( gnu_java_net_VMPlainSocketImpl
 This );

JCGO_NOSEP_STATIC void CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketsInit__( void );

JCGO_NOSEP_FRWINL jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketCreate__Z( jboolean stream );

JCGO_NOSEP_FRWINL java_net_InetSocketAddress CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketGetLocalAddrPort__I( jint fd
 );

JCGO_NOSEP_FRWINL void CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketSetNonBlocking__IZ( jint fd,
 jboolean on );

JCGO_NOSEP_FRWINL jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketAvailable__I( jint fd );

JCGO_NOSEP_STATIC jboolean CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketConnect__IL5zjctI( java_net_InetSocketAddress
 address, jint fd, jint timeout );

JCGO_NOSEP_FRWINL java_net_InetSocketAddress CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketRecvFrom__IBAIAIZZZZZ( jbyteArr
 buffer, jintArr offArr, jint fd, jint len, jboolean urgent, jboolean
 peek, jboolean fillAddress, jboolean stream, jboolean isNonBlocking
 );

JCGO_NOSEP_FRWINL void CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketSendTo__IBAIAIL5zjctZZ( jbyteArr
 buffer, jintArr offArr, java_net_InetSocketAddress address, jint fd,
 jint len, jboolean urgent, jboolean isNonBlocking );

JCGO_NOSEP_STATIC void CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketClose__I( jint fd );

JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__getNativeSocketFD__( gnu_java_net_VMPlainSocketImpl
 This );

JCGO_NOSEP_STATIC jlong CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketSelectSingle__IZZZJZ( jlong
 deadline, jint fd, jboolean input, jboolean output, jboolean urgent,
 jboolean isTimeout );

JCGO_NOSEP_STATIC void CFASTCALL
gnu_java_net_VMPlainSocketImpl__setTimeoutFor__II( jint fd, jint timeout
 );

JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__getTimeoutFor__I( jint fd );

JCGO_NOSEP_STATIC java_net_InetAddress CFASTCALL
gnu_java_net_VMPlainSocketImpl__toInetAddress__BAI( jbyteArr ip, jint
 iplen );

JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__getTimeoutOfDeadline__J( jlong deadline
 );

JCGO_NOSEP_STATIC jboolean CFASTCALL
gnu_java_net_VMPlainSocketImpl__isSocketRetryNeededOnce__I( jint res
 );

JCGO_NOSEP_STATIC void CFASTCALL
gnu_java_net_VMPlainSocketImpl__checkSocketResCode__I( jint res );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_isSocketErrAddrNotAvail0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_isSocketErrAddrNotAvail0)(
 JNIEnv *pJniEnv, jclass This, jint res );
#endif
JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__isSocketErrAddrNotAvail0__I( jint
 res );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_isSocketErrConnInProgress0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_isSocketErrConnInProgress0)(
 JNIEnv *pJniEnv, jclass This, jint res );
#endif
JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__isSocketErrConnInProgress0__I( jint
 res );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_isSocketErrConnected0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_isSocketErrConnected0)(
 JNIEnv *pJniEnv, jclass This, jint res );
#endif
JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__isSocketErrConnected0__I( jint res
 );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_isSocketErrHostUnreach0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_isSocketErrHostUnreach0)(
 JNIEnv *pJniEnv, jclass This, jint res );
#endif
JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__isSocketErrHostUnreach0__I( jint res
 );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_isSocketErrInterrupted0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_isSocketErrInterrupted0)(
 JNIEnv *pJniEnv, jclass This, jint res );
#endif
JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__isSocketErrInterrupted0__I( jint res
 );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_getSocketErrorMsg0
JNIIMPORT jstring JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_getSocketErrorMsg0)(
 JNIEnv *pJniEnv, jclass This, jint res );
#endif
JCGO_NOSEP_STATIC java_lang_String CFASTCALL
gnu_java_net_VMPlainSocketImpl__getSocketErrorMsg0__I( jint res );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketConnect0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketConnect0)(
 JNIEnv *pJniEnv, jclass This, jint fd, jbyteArray ip, jint iplen,
 jint port );
#endif
JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketConnect0__IBAII( jbyteArr ip,
 jint fd, jint iplen, jint port );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketSelect0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketSelect0)(
 JNIEnv *pJniEnv, jclass This, jintArray readFDs, jint readFDsLen,
 jintArray writeFDs, jint writeFDsLen, jintArray exceptFDs, jint exceptFDsLen,
 jint timeout );
#endif
JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketSelect0__IAIIAIIAII( jintArr
 readFDs, jintArr writeFDs, jintArr exceptFDs, jint readFDsLen, jint
 writeFDsLen, jint exceptFDsLen, jint timeout );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketSetNonBlocking0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketSetNonBlocking0)(
 JNIEnv *pJniEnv, jclass This, jint fd, jint on );
#endif
JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketSetNonBlocking0__II( jint fd,
 jint on );

#ifndef NOJAVA_gnu_java_net_VMPlainSocketImpl_socketGetSetOption0
JNIIMPORT jint JNICALL JCGO_JNI_FUNC(Java_gnu_java_net_VMPlainSocketImpl_socketGetSetOption0)(
 JNIEnv *pJniEnv, jclass This, jint fd, jint optionId, jint optval
 );
#endif
JCGO_NOSEP_STATIC jint CFASTCALL
gnu_java_net_VMPlainSocketImpl__socketGetSetOption0__III( jint fd,
 jint optionId, jint optval );

#define JCGO_NATCLASS_gnu_java_net_VMPlainSocketImpl

struct gnu_java_net_VMPlainSocketImpl_methods_s
{
 java_lang_Class jcgo_class;
 JCGO_GCJDESCR_DEFN
 JCGO_TYPEID_T jcgo_typeid;
 JCGO_OBJSIZE_T jcgo_objsize;
 CONST struct jcgo_reflect_s *jcgo_reflect;
 JCGO_CLINIT_DEFN
 gnu_java_net_VMPlainSocketImpl (CFASTCALL *jcgo_thisRtn)( gnu_java_net_VMPlainSocketImpl
  This );
 jboolean (CFASTCALL *equals__Lo)( java_lang_Object This, java_lang_Object
  obj );
 jint (CFASTCALL *hashCode__)( java_lang_Object This );
 java_lang_String (CFASTCALL *toString__)( java_lang_Object This );
 void (CFASTCALL *finalize__)( java_lang_Object This );
};

struct gnu_java_net_VMPlainSocketImpl_class_s
{
 struct java_lang_Class_s jcgo_class;
};

JCGO_SEP_EXTERN CONST struct gnu_java_net_VMPlainSocketImpl_methods_s
 gnu_java_net_VMPlainSocketImpl_methods;
JCGO_SEP_EXTERN JCGO_NOTHR_CONST struct gnu_java_net_VMPlainSocketImpl_class_s
 gnu_java_net_VMPlainSocketImpl__class;

JCGO_SEP_GCEXTERN java_util_HashMap gnu_java_net_VMPlainSocketImpl__timeouts;
JCGO_SEP_EXTERN jboolean gnu_java_net_VMPlainSocketImpl__initialized;
JCGO_SEP_EXTERN jboolean gnu_java_net_VMPlainSocketImpl__preventBlocking;

struct gnu_java_net_VMPlainSocketImpl_s
{
 CONST struct gnu_java_net_VMPlainSocketImpl_methods_s *JCGO_IMMFLD_CONST
  jcgo_methods;
 JCGO_MON_DEFN
 gnu_java_net_VMPlainSocketImpl_State state;
};

JCGO_SEP_EXTERN JCGO_NOTHR_CONST jcgo_arrtype4_VMChnnl jcgo_array2_VMPlScIm;

JCGO_SEP_EXTERN JCGO_NOTHR_CONST jcgo_arrtype2_VMChnnl jcgo_array3_VMPlScIm;

JCGO_SEP_EXTERN CONST jcgo_arrtype75_GmCnnctn jcgo_array9_VMPlScIm;

JCGO_SEP_EXTERN CONST jcgo_arrtype23_Object jcgo_array10_VMPlScIm;

JCGO_SEP_EXTERN CONST jcgo_arrtype108_GmCnnctn jcgo_array11_VMPlScIm;

JCGO_SEP_EXTERN CONST jcgo_arrtype94_GmCnnctn jcgo_array12_VMPlScIm;

JCGO_SEP_EXTERN JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_VMPlScIm;

JCGO_SEP_EXTERN JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string4_VMPlScIm;

JCGO_SEP_EXTERN JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string5_VMPlScIm;

JCGO_SEP_EXTERN JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string6_VMPlScIm;

JCGO_SEP_EXTERN JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string7_VMPlScIm;

JCGO_SEP_EXTERN JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string8_VMPlScIm;

#endif
