adefdaca2d
2006-11-03 Gary Benson <gbenson@redhat.com> * java/net/InetAddress.java: Removed. * java/net/natInetAddressNoNet.cc: Likewise. * java/net/natInetAddressPosix.cc: Likewise. * java/net/natInetAddressWin32.cc: Likewise. * java/net/VMInetAddress.java (getLocalHostname, lookupInaddrAny, getHostByAddr, getHostByName, aton): Replace glue methods with native ones. * java/net/natVMInetAddressNoNet.cc: New file. * java/net/natVMInetAddressPosix.cc: Likewise. * java/net/natVMInetAddressWin32.cc: Likewise. * Makefile.am, configure.ac: Reflect the above. * sources.am, Makefile.in, configure: Rebuilt. * java/net/natVMNetworkInterfaceWin32.cc (winsock2GetRealNetworkInterfaces): Create InetAddress objects using InetAddress.getByAddress. * gnu/java/net/natPlainSocketImplWin32.cc (accept, getOption): Likewise. * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData, receive, getOption): Likewise. From-SVN: r118451
41 lines
679 B
C++
41 lines
679 B
C++
/* Copyright (C) 2003, 2006 Free Software Foundation
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
#include <config.h>
|
|
#include <stddef.h>
|
|
|
|
jstring
|
|
java::net::VMInetAddress::getLocalHostname ()
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
jbyteArray
|
|
java::net::VMInetAddress::lookupInaddrAny ()
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
jstring
|
|
java::net::VMInetAddress::getHostByAddr (jbyteArray addr)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
JArray<jbyteArray> *
|
|
java::net::VMInetAddress::getHostByName (jstring host)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
jbyteArray
|
|
java::net::VMInetAddress::aton (jstring host)
|
|
{
|
|
return NULL;
|
|
}
|