#include "split.h"
#include "server-GLogFunc.h"
#include "client-CaptiveIOChannel.h"
+#include "../client/vfs-slave.h"
static void impl_Captive_Vfs_fini(impl_POA_Captive_Vfs *servant,CORBA_Environment *ev);
src_options_module_corba->data._length);
dest_options_module_captive->u.pe32.length=src_options_module_corba->data._length;
dest_options_module_captive->u.pe32.mapped=FALSE;
+ /* 'md5' is never used in sandbox client; XML is dumped by the master. */
+ dest_options_module_captive->u.pe32.md5=g_strdup("<sandbox-client:undef>");
}
options_captive.load_module=g_list_append(options_captive.load_module,options_module);
}
+ options_captive.sandbox=TRUE;
g_assert(options_captive.sandbox_server_argv==NULL);
+ g_assert(options_captive.sandbox_server_ior==NULL);
if (GNOME_VFS_OK!=(errvfsresult=captive_vfs_new(&servant->captive_vfs_object,&options_captive))) {
CORBA_exception_set(ev,CORBA_USER_EXCEPTION,ex_Captive_GnomeVFSResultException,GINT_TO_POINTER((gint)errvfsresult));
captive_options_free(&options_captive);
- g_assert(servant->captive_vfs_object!=NULL);
+ g_assert(CAPTIVE_VFS_SLAVE_IS_OBJECT(servant->captive_vfs_object));
}
servant, /* data */
NULL); /* notify */
g_source_attach(source,
- g_main_loop_get_context(linc_main_get_loop())); /* context; NULL means 'default context' */
+ captive_corba_get_context()); /* context; NULL means 'default context' */
g_source_unref(source);
#endif
}