1 |
/* PlainSocketImpl.c - Native methods for PlainSocketImpl class |
/* PlainSocketImpl.c - Native methods for PlainSocketImpl class |
2 |
Copyright (C) 1998, 2002 Free Software Foundation, Inc. |
Copyright (C) 1998, 2002, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
288 |
#else /* not WITHOUT_NETWORK */ |
#else /* not WITHOUT_NETWORK */ |
289 |
#endif /* not WITHOUT_NETWORK */ |
#endif /* not WITHOUT_NETWORK */ |
290 |
} |
} |
291 |
|
|
292 |
|
JNIEXPORT void JNICALL |
293 |
|
Java_gnu_java_net_PlainSocketImpl_shutdownInput (JNIEnv *env, jobject this) |
294 |
|
{ |
295 |
|
#ifndef WITHOUT_NETWORK |
296 |
|
assert (env != NULL); |
297 |
|
assert ((*env) != NULL); |
298 |
|
|
299 |
|
_javanet_shutdownInput (env, this); |
300 |
|
#else /* not WITHOUT_NETWORK */ |
301 |
|
#endif /* not WITHOUT_NETWORK */ |
302 |
|
} |
303 |
|
|
304 |
|
JNIEXPORT void JNICALL |
305 |
|
Java_gnu_java_net_PlainSocketImpl_shutdownOutput (JNIEnv *env, jobject this) |
306 |
|
{ |
307 |
|
#ifndef WITHOUT_NETWORK |
308 |
|
assert (env != NULL); |
309 |
|
assert ((*env) != NULL); |
310 |
|
|
311 |
|
_javanet_shutdownOutput (env, this); |
312 |
|
#else /* not WITHOUT_NETWORK */ |
313 |
|
#endif /* not WITHOUT_NETWORK */ |
314 |
|
} |
315 |
|
|
316 |
/* end of file */ |
/* end of file */ |