#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
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