+captive_vfs_commit()
[captive.git] / src / libcaptive / client / vfs.c
index c458394..9b29ec3 100644 (file)
@@ -160,3 +160,15 @@ gboolean errbool;
 
        return GNOME_VFS_OK;
 }
+
+
+GnomeVFSResult captive_vfs_commit(CaptiveVfsObject *captive_vfs_object)
+{
+       g_return_val_if_fail(captive_vfs_object!=NULL,GNOME_VFS_ERROR_BAD_PARAMETERS);
+
+       if (captive_vfs_object->is_sandbox_parent)
+               return captive_sandbox_parent_vfs_commit(captive_vfs_object);
+
+       /* We do not buffer any data if not in sandboxed mode. */
+       return GNOME_VFS_OK;
+}