Home | History | Annotate | Download | only in native
      1 /* This file was generated from java/net/PlainSocketImpl.java and is
      2  * licensed under the same terms. The copyright and license information for
      3  * java/net/PlainSocketImpl.java follows.
      4  *
      5  * Copyright (c) 2007, 2008, 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 java_net_PlainSocketImpl */
     31 
     32 #ifndef _Included_java_net_PlainSocketImpl
     33 #define _Included_java_net_PlainSocketImpl
     34 #ifdef __cplusplus
     35 extern "C" {
     36 #endif
     37 #undef java_net_PlainSocketImpl_SHUT_RD
     38 #define java_net_PlainSocketImpl_SHUT_RD 0L
     39 #undef java_net_PlainSocketImpl_SHUT_WR
     40 #define java_net_PlainSocketImpl_SHUT_WR 1L
     41 /*
     42  * Class:     java_net_PlainSocketImpl
     43  * Method:    socketCreate
     44  * Signature: (Z)V
     45  */
     46 JNIEXPORT void JNICALL PlainSocketImpl_socketCreate
     47   (JNIEnv *, jobject, jboolean);
     48 
     49 /*
     50  * Class:     java_net_PlainSocketImpl
     51  * Method:    socketConnect
     52  * Signature: (Ljava/net/InetAddress;II)V
     53  */
     54 JNIEXPORT void JNICALL PlainSocketImpl_socketConnect
     55   (JNIEnv *, jobject, jobject, jint, jint);
     56 
     57 /*
     58  * Class:     java_net_PlainSocketImpl
     59  * Method:    socketBind
     60  * Signature: (Ljava/net/InetAddress;I)V
     61  */
     62 JNIEXPORT void JNICALL PlainSocketImpl_socketBind
     63   (JNIEnv *, jobject, jobject, jint);
     64 
     65 /*
     66  * Class:     java_net_PlainSocketImpl
     67  * Method:    socketListen
     68  * Signature: (I)V
     69  */
     70 JNIEXPORT void JNICALL PlainSocketImpl_socketListen
     71   (JNIEnv *, jobject, jint);
     72 
     73 /*
     74  * Class:     java_net_PlainSocketImpl
     75  * Method:    socketAccept
     76  * Signature: (Ljava/net/SocketImpl;)V
     77  */
     78 JNIEXPORT void JNICALL PlainSocketImpl_socketAccept
     79   (JNIEnv *, jobject, jobject);
     80 
     81 /*
     82  * Class:     java_net_PlainSocketImpl
     83  * Method:    socketAvailable
     84  * Signature: ()I
     85  */
     86 JNIEXPORT jint JNICALL PlainSocketImpl_socketAvailable
     87   (JNIEnv *, jobject);
     88 
     89 /*
     90  * Class:     java_net_PlainSocketImpl
     91  * Method:    socketClose0
     92  * Signature: ()V
     93  */
     94 JNIEXPORT void JNICALL PlainSocketImpl_socketClose0
     95   (JNIEnv *, jobject);
     96 
     97 /*
     98  * Class:     java_net_PlainSocketImpl
     99  * Method:    socketShutdown
    100  * Signature: (I)V
    101  */
    102 JNIEXPORT void JNICALL PlainSocketImpl_socketShutdown
    103   (JNIEnv *, jobject, jint);
    104 
    105 
    106 /*
    107  * Class:     java_net_PlainSocketImpl
    108  * Method:    socketSetOption
    109  * Signature: (IZLjava/lang/Object;)V
    110  */
    111 JNIEXPORT void JNICALL PlainSocketImpl_socketSetOption
    112   (JNIEnv *, jobject, jint, jboolean, jobject);
    113 
    114 /*
    115  * Class:     java_net_PlainSocketImpl
    116  * Method:    socketGetOption
    117  * Signature: (ILjava/lang/Object;)I
    118  */
    119 JNIEXPORT jint JNICALL PlainSocketImpl_socketGetOption
    120   (JNIEnv *, jobject, jint, jobject);
    121 
    122 /*
    123  * Class:     java_net_PlainSocketImpl
    124  * Method:    socketSendUrgentData
    125  * Signature: (I)V
    126  */
    127 JNIEXPORT void JNICALL PlainSocketImpl_socketSendUrgentData
    128   (JNIEnv *, jobject, jint);
    129 
    130 #ifdef __cplusplus
    131 }
    132 #endif
    133 #endif
    134