-/* find a library entry in the library hash */
-hashtable_library_name_entry *native_hashtable_library_find(utf *filename,
- java_objectheader *loader);
-
-/* resolve native function */
-functionptr native_resolve_function(methodinfo *m);
-
-#endif /* defined(WITH_STATIC_CLASSPATH) */
-
-/* create new object on the heap and call the initializer */
-java_objectheader *native_new_and_init(classinfo *c);
-
-/* create new object on the heap and call the initializer
- mainly used for exceptions with a message */
-java_objectheader *native_new_and_init_string(classinfo *c, java_lang_String *s);
-
-/* create new object on the heap and call the initializer
- mainly used for exceptions with an index */
-java_objectheader *native_new_and_init_int(classinfo *c, s4 i);
+#if defined(ENABLE_DL)
+void* native_library_open(utf *filename);
+void native_library_close(void* handle);
+void native_library_add(utf *filename, classloader_t *loader, void *handle);
+hashtable_library_name_entry *native_library_find(utf *filename, classloader_t *loader);
+int native_library_load(JNIEnv *env, utf *name, classloader_t *cl);
+#endif