nativeWebShellCreate = (jint (*) (JNIEnv *, jobject, jint, jint, jint, jint, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellCreate");
nativeWebShellCreate = (jint (*) (JNIEnv *, jobject, jint, jint, jint, jint, jint, jobject)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellCreate");
void locateBrowserControlStubFunctions(void * dll) {  nativeInitialize = (void (*) (JNIEnv *, jobject, jstring)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeInitialize");  if (!nativeInitialize) {    printf("got dlsym error %s\n", dlerror());  }  nativeTerminate = (void (*) (JNIEnv *, jobject)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeTerminate");  if (!nativeTerminate) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellCreate = (jint (*) (JNIEnv *, jobject, jint, jint, jint, jint, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellCreate");  if (!nativeWebShellCreate) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellDelete = (void (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellDelete");  if (!nativeWebShellDelete) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellLoadURL = (void (*) (JNIEnv *, jobject, jint, jstring)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellLoadURL");  if (!nativeWebShellLoadURL) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellStop = (void (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellStop");  if (!nativeWebShellStop) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellShow = (void (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellShow");  if (!nativeWebShellShow) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellHide = (void (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellHide");  if (!nativeWebShellHide) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellSetBounds = (void (*) (JNIEnv *, jobject, jint, jint, jint, jint, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellSetBounds");  if (!nativeWebShellSetBounds) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellMoveTo = (void (*) (JNIEnv *, jobject, jint, jint, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellMoveTo");  if (!nativeWebShellMoveTo) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellSetFocus = (void (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellSetFocus");  if (!nativeWebShellSetFocus) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellRemoveFocus = (void (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellRemoveFocus");  if (!nativeWebShellRemoveFocus) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellRepaint = (void (*) (JNIEnv *, jobject, jint, jboolean)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellRepaint");  if (!nativeWebShellRepaint) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellCanBack = (jboolean (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellCanBack");  if (!nativeWebShellCanBack) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellCanForward = (jboolean (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellCanForward");  if (!nativeWebShellCanForward) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellBack = (jboolean (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellBack");  if (!nativeWebShellBack) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellForward = (jboolean (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellForward");  if (!nativeWebShellForward) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellGoTo = (jboolean (*) (JNIEnv *, jobject, jint, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellGoTo");  if (!nativeWebShellGoTo) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellGetHistoryLength = (jint (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellGetHistoryLength");  if (!nativeWebShellGetHistoryLength) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellGetHistoryIndex = (jint (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellGetHistoryIndex");  if (!nativeWebShellGetHistoryIndex) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellGetURL = (jstring (*) (JNIEnv *, jobject, jint, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellGetURL");  if (!nativeWebShellGetURL) {    printf("got dlsym error %s\n", dlerror());  }    // added by Mark Goddard OTMP 9/2/1999  nativeWebShellRefresh = (jboolean (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellRefresh");  if (!nativeWebShellRefresh) {    printf("got dlsym error %s\n", dlerror());  }  nativeWebShellAddDocListener = (jboolean (*) (JNIEnv *, jobject, jint, jobject)) dlsym(dll, "Java_org_mozilla_webclient_BrowserControlNativeShim_nativeWebShellAddDocListener");  if (!nativeWebShellAddDocListener) {      printf("got dlsym error %s\n", dlerror());  }  processNativeEventQueue = (void (*) (JNIEnv *, jobject, jint)) dlsym(dll, "Java_org_mozilla_webclient_motif_NativeEventThread_processNativeEventQueue");  if (!processNativeEventQueue) {    printf("got dlsym error %s\n", dlerror());  }}