Initial original import from: fuse-2.4.2-2.fc4
[captive.git] / src / libcaptive / sandbox / split.h
index 9198a32..b3d0ba0 100644 (file)
 
 
 #include <glib/gmacros.h>
+#include <glib/gmain.h>
 #ifdef ORBIT2  /* Prevent missing $(ORBIT_CFLAGS) outside of libcaptive/sandbox/ */
 #include "sandbox.h"
 #include "captive/client-vfs.h"
+#include "../client/vfs-parent.h"
 #endif
 
 
@@ -40,15 +42,14 @@ void captive_corba_sandbox_child(const gchar *chrooted_orbit_dir);
 void sandbox_child_prepare_shutdown(void);
 void captive_sandbox_fd_closeup(int fd_first_to_delete);
 void sandbox_child_shutdown(void);
+GMainLoop *captive_corba_get_loop(void);
+GMainContext *captive_corba_get_context(void);
 #ifdef ORBIT2  /* Prevent missing $(ORBIT_CFLAGS) outside of libcaptive/sandbox/ */
-gboolean captive_sandbox_spawn(CaptiveVfsObject *child_captive_vfs_object,
-               Captive_Vfs *corba_Vfs_object_return,Captive_GLogFunc *corba_GLogFunc_object_return,
-               Captive_CaptiveIOChannel *corba_CaptiveIOChannel_object_return,GIOChannel **corba_parent_giochanel_blind_ptr,
-               int *parentheart_fds_1_return,pid_t *child_pid_return);
+gboolean captive_sandbox_spawn(CaptiveVfsParentObject *captive_vfs_parent_object);
 gboolean validate_CORBA_Environment(CORBA_Environment *evp);
-GnomeVFSResult captive_sandbox_parent_return_from_CORBA_Environment(CORBA_Environment *evp);
+GnomeVFSResult captive_sandbox_parent_return_from_CORBA_Environment
+               (CORBA_Environment *evp,CaptiveVfsParentObject *captive_vfs_parent_object);
 void captive_sandbox_child_GnomeVFSResultException_throw(CORBA_Environment *evp,GnomeVFSResult errvfsresult);
-gboolean captive_sandbox_parent_query_vfs_retry(CORBA_Environment *evp,CaptiveVfsObject *captive_vfs_object);
 #endif
 
 G_END_DECLS