#include <captive/client-vfs.h>
#include <captive/options.h>
#include <captive/macros.h>
+#include <captive/client.h>
#include <lufs/fs.h>
#include <lufs/proto.h>
}
G_UNLOCK(libcaptive);
- /* Initialize i18n for proper nl_langinfo(CODESET) for _g_locale_charset_raw() for g_filename_from_utf8(). */
- setlocale(LC_ALL,"");
+ captive_standalone_init();
if (!g_thread_supported())
g_thread_init(NULL); /* g_thread_init() fails on second initialization */
- /* Initialize GObject subsystem of GLib. */
- g_type_init();
-
captive_new(captivefs_vfs);
captivefs_vfs->captive_vfs_object=NULL;
captivefs_vfs->private=FALSE;