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/org.eclipse.core.net/natives
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/org.eclipse.core.net/natives')
-rw-r--r--bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c7
-rw-r--r--bundles/org.eclipse.core.net/natives/unix/gnomeproxy.h38
2 files changed, 45 insertions, 0 deletions
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