Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2008-09-03 09:36:36 +0000
committerTomasz Zarna2008-09-03 09:36:36 +0000
commitfe90ba4402af012f41f0ff6dd2a5b355c2d62082 (patch)
treef17651cd2e6ad0afaff8741e8e2f418be068c8be /bundles
parentcda847d7cdce99c01984c77933efd94873fb8cd0 (diff)
downloadeclipse.platform.team-fe90ba4402af012f41f0ff6dd2a5b355c2d62082.tar.gz
eclipse.platform.team-fe90ba4402af012f41f0ff6dd2a5b355c2d62082.tar.xz
eclipse.platform.team-fe90ba4402af012f41f0ff6dd2a5b355c2d62082.zip
bug 245850: [Net] Header generated for JNI from UnixProxyProvider is missing
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/BUILD_INFO.txt12
-rw-r--r--bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/libgnomeproxy-1.0.0.sobin91292 -> 91384 bytes
-rw-r--r--bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c7
-rw-r--r--bundles/org.eclipse.core.net/natives/unix/gnomeproxy.h38
4 files changed, 51 insertions, 6 deletions
diff --git a/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/BUILD_INFO.txt b/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/BUILD_INFO.txt
index 9a3a16110..507e223db 100644
--- a/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/BUILD_INFO.txt
+++ b/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/BUILD_INFO.txt
@@ -2,9 +2,9 @@ Native Build Info:
------------------
platform: linux.gtk.x86
-built by: Francis Upton, francisu@ieee.org
-build date: 24-Apr-2008
-OS Name: Fedora 8
-OS Version: Linux 2.6.24.4-64.fc8
-Compiler version: gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
-Java version: Standard Edition 1.6.0_04
+built by: Pawel Pogorzelski, Pawel.Pogorzelski@pl.ibm.com
+build date: 01-Sep-2008
+OS Name: Red Hat Enterprise Linux WS release 4 (Nahant)
+OS Version: Linux 2.6.9-5.EL
+Compiler version: gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
+Java version: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_17-b06) \ No newline at end of file
diff --git a/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/libgnomeproxy-1.0.0.so b/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/libgnomeproxy-1.0.0.so
index 05e551e6a..06f71642a 100644
--- a/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/libgnomeproxy-1.0.0.so
+++ b/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/libgnomeproxy-1.0.0.so
Binary files differ
diff --git a/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c b/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c
index 1811952bf..37209d563 100644
--- a/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c
+++ b/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c
@@ -23,6 +23,8 @@
#include <strings.h>
#endif
+#include "gnomeproxy.h"
+
static GConfClient *client= NULL;
static jclass proxyInfoClass;
@@ -37,6 +39,11 @@ static jmethodID passwordMethod;
#define CHECK_NULL(X) { if ((X) == NULL) fprintf (stderr,"JNI error at line %d\n", __LINE__); }
+/*
+ * Class: org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider
+ * Method: gconfInit
+ * Signature: ()V
+ */
JNIEXPORT void JNICALL Java_org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider_gconfInit(
JNIEnv *env, jclass clazz) {
diff --git a/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.h b/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.h
new file mode 100644
index 000000000..cf0e8d712
--- /dev/null
+++ b/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.h
@@ -0,0 +1,38 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider */
+
+#ifndef _Included_org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider
+#define _Included_org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider
+#ifdef __cplusplus
+extern "C" {
+#endif
+/* Inaccessible static: isGnomeLibLoaded */
+/*
+ * Class: org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider
+ * Method: gconfInit
+ * Signature: ()V
+ */
+JNIEXPORT void JNICALL Java_org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider_gconfInit
+ (JNIEnv *, jclass);
+
+/*
+ * Class: org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider
+ * Method: getGConfProxyInfo
+ * Signature: (Ljava/lang/String;)Lorg/eclipse/core/internal/net/ProxyData;
+ */
+JNIEXPORT jobject JNICALL Java_org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider_getGConfProxyInfo
+ (JNIEnv *, jclass, jstring);
+
+/*
+ * Class: org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider
+ * Method: getGConfNonProxyHosts
+ * Signature: ()[Ljava/lang/String;
+ */
+JNIEXPORT jobjectArray JNICALL Java_org_eclipse_core_internal_net_proxy_unix_UnixProxyProvider_getGConfNonProxyHosts
+ (JNIEnv *, jclass);
+
+#ifdef __cplusplus
+}
+#endif
+#endif

Back to the top