diff options
Diffstat (limited to 'bundles/org.eclipse.core.net/natives')
-rw-r--r-- | bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c | 7 | ||||
-rw-r--r-- | bundles/org.eclipse.core.net/natives/unix/gnomeproxy.h | 38 |
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 |