src/share/vm/prims/jvm.h

changeset 2322
828eafbd85cc
parent 2314
f95d63e2154a
child 2327
cb2d0a362639
equal deleted inserted replaced
2314:f95d63e2154a 2322:828eafbd85cc
1403 JVM_GetSockOpt(jint fd, int level, int optname, char *optval, int *optlen); 1403 JVM_GetSockOpt(jint fd, int level, int optname, char *optval, int *optlen);
1404 1404
1405 JNIEXPORT jint JNICALL 1405 JNIEXPORT jint JNICALL
1406 JVM_SetSockOpt(jint fd, int level, int optname, const char *optval, int optlen); 1406 JVM_SetSockOpt(jint fd, int level, int optname, const char *optval, int optlen);
1407 1407
1408 /*
1409 * These routines are only reentrant on Windows
1410 */
1411
1412 #ifdef _WINDOWS
1413
1414 JNIEXPORT struct protoent * JNICALL
1415 JVM_GetProtoByName(char* name);
1416
1417 JNIEXPORT struct hostent* JNICALL
1418 JVM_GetHostByAddr(const char* name, int len, int type);
1419
1420 JNIEXPORT struct hostent* JNICALL
1421 JVM_GetHostByName(char* name);
1422
1423 #endif /* _WINDOWS */
1424
1425 JNIEXPORT int JNICALL 1408 JNIEXPORT int JNICALL
1426 JVM_GetHostName(char* name, int namelen); 1409 JVM_GetHostName(char* name, int namelen);
1427 1410
1428 /* 1411 /*
1429 * The standard printing functions supported by the Java VM. (Should they 1412 * The standard printing functions supported by the Java VM. (Should they

mercurial