diff options
author | Tom Tromey <tromey@redhat.com> | 2006-05-27 02:05:43 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2006-05-27 02:05:43 +0000 |
commit | be7a90d95b812ebdf732461249c6f591063e7ee9 (patch) | |
tree | 192c5190d199afec7ad8b344c1407988f0bff5ed /include | |
parent | 66b1ff6a9b9387efe54193567da1aa6e5a746c1b (diff) | |
download | classpath-be7a90d95b812ebdf732461249c6f591063e7ee9.tar.gz |
* configure.ac: Check for magic.h and -lmagic.
* vm/reference/java/net/VMURLConnection.java: New file.
* include/java_net_VMURLConnection.h: New file.
* include/Makefile.am (H_FILES): Add VMURLConnection.h.
($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
* native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
Mention new file.
(libjavanet_la_LIBADD): Add $(LIBMAGIC).
* native/jni/java-net/java_net_VMURLConnection.c: New file.
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile.am | 3 | ||||
-rw-r--r-- | include/java_net_VMURLConnection.h | 22 |
2 files changed, 25 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 8b43e31cb..783ba18ee 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -135,6 +135,7 @@ $(top_srcdir)/include/java_lang_VMSystem.h \ $(top_srcdir)/include/java_lang_reflect_VMArray.h \ $(top_srcdir)/include/java_net_VMInetAddress.h \ $(top_srcdir)/include/java_net_VMNetworkInterface.h \ +$(top_srcdir)/include/java_net_VMURLConnection.h \ $(top_srcdir)/include/java_nio_VMDirectByteBuffer.h \ $(top_srcdir)/include/java_nio_MappedByteBufferImpl.h \ $(top_srcdir)/include/java_util_VMTimeZone.h @@ -196,6 +197,8 @@ $(top_srcdir)/include/java_net_VMInetAddress.h: $(top_srcdir)/vm/reference/java/ $(JAVAH) -o $@ java.net.VMInetAddress $(top_srcdir)/include/java_net_VMNetworkInterface.h: $(top_srcdir)/vm/reference/java/net/VMNetworkInterface.java $(JAVAH) -o $@ java.net.VMNetworkInterface +$(top_srcdir)/include/java_net_VMURLConnection.h: $(top_srcdir)/vm/reference/java/net/VMURLConnection.java + $(JAVAH) -o $@ java.net.VMURLConnection $(top_srcdir)/include/java_nio_VMDirectByteBuffer.h: $(top_srcdir)/vm/reference/java/nio/VMDirectByteBuffer.java $(JAVAH) -o $@ java.nio.VMDirectByteBuffer $(top_srcdir)/include/java_nio_MappedByteBufferImpl.h: $(top_srcdir)/java/nio/MappedByteBufferImpl.java diff --git a/include/java_net_VMURLConnection.h b/include/java_net_VMURLConnection.h new file mode 100644 index 000000000..270a14a75 --- /dev/null +++ b/include/java_net_VMURLConnection.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __java_net_VMURLConnection__ +#define __java_net_VMURLConnection__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +JNIEXPORT void JNICALL Java_java_net_VMURLConnection_init (JNIEnv *env, jclass); +JNIEXPORT jstring JNICALL Java_java_net_VMURLConnection_guessContentTypeFromBuffer (JNIEnv *env, jclass, jbyteArray, jint); +#undef java_net_VMURLConnection_LENGTH +#define java_net_VMURLConnection_LENGTH 1024L + +#ifdef __cplusplus +} +#endif + +#endif /* __java_net_VMURLConnection__ */ |