*/
-#ifndef _CAPTIVE_CLIENT_PARENT_FILE_H
-#define _CAPTIVE_CLIENT_PARENT_FILE_H 1
+#ifndef _PARENT_FILE_H
+#define _PARENT_FILE_H 1
#include <glib/gmacros.h>
#include <glib-object.h>
#include <libgnomevfs/gnome-vfs-result.h> /* for GnomeVFSResult */
-#include "captive/client-file.h"
+#include "../client/file-parent.h"
G_BEGIN_DECLS
-GnomeVFSResult captive_sandbox_parent_file_new_open(CaptiveFileObject *captive_file_object,
+GnomeVFSResult captive_sandbox_parent_file_new_open(CaptiveFileParentObject *captive_file_parent_object,
const gchar *pathname,GnomeVFSOpenMode mode);
-GnomeVFSResult captive_sandbox_parent_file_new_create(CaptiveFileObject *captive_file_object,
+GnomeVFSResult captive_sandbox_parent_file_new_create(CaptiveFileParentObject *captive_file_parent_object,
const gchar *pathname,GnomeVFSOpenMode mode,gboolean exclusive,guint perm);
-GnomeVFSResult captive_sandbox_parent_file_close(CaptiveFileObject *captive_file_object);
-GnomeVFSResult captive_sandbox_parent_file_read(CaptiveFileObject *captive_file_object,
+GnomeVFSResult captive_sandbox_parent_file_close(CaptiveFileParentObject *captive_file_parent_object);
+GnomeVFSResult captive_sandbox_parent_file_read(CaptiveFileParentObject *captive_file_parent_object,
gpointer buffer,GnomeVFSFileSize num_bytes,GnomeVFSFileSize *bytes_read_return);
-GnomeVFSResult captive_sandbox_parent_file_write(CaptiveFileObject *captive_file_object,
+GnomeVFSResult captive_sandbox_parent_file_write(CaptiveFileParentObject *captive_file_parent_object,
gconstpointer buffer,GnomeVFSFileSize num_bytes,GnomeVFSFileSize *bytes_written_return);
GnomeVFSResult captive_sandbox_parent_file_seek
- (CaptiveFileObject *captive_file_object,GnomeVFSSeekPosition whence,GnomeVFSFileOffset offset);
-GnomeVFSResult captive_sandbox_parent_file_tell(CaptiveFileObject *captive_file_object,GnomeVFSFileOffset *offset_return);
-GnomeVFSResult captive_sandbox_parent_file_remove(CaptiveFileObject *captive_file_object);
-GnomeVFSResult captive_sandbox_parent_file_file_info_get(CaptiveFileObject *captive_file_object,
+ (CaptiveFileParentObject *captive_file_parent_object,GnomeVFSSeekPosition whence,GnomeVFSFileOffset offset);
+GnomeVFSResult captive_sandbox_parent_file_tell
+ (CaptiveFileParentObject *captive_file_parent_object,GnomeVFSFileOffset *offset_return);
+GnomeVFSResult captive_sandbox_parent_file_remove(CaptiveFileParentObject *captive_file_parent_object);
+GnomeVFSResult captive_sandbox_parent_file_file_info_get(CaptiveFileParentObject *captive_file_parent_object,
GnomeVFSFileInfo *file_info);
-GnomeVFSResult captive_sandbox_parent_file_file_info_set(CaptiveFileObject *captive_file_object,
+GnomeVFSResult captive_sandbox_parent_file_file_info_set(CaptiveFileParentObject *captive_file_parent_object,
const GnomeVFSFileInfo *info,GnomeVFSSetFileInfoMask mask);
-GnomeVFSResult captive_sandbox_parent_file_truncate(CaptiveFileObject *captive_file_object,GnomeVFSFileSize file_size);
+GnomeVFSResult captive_sandbox_parent_file_truncate
+ (CaptiveFileParentObject *captive_file_parent_object,GnomeVFSFileSize file_size);
GnomeVFSResult captive_sandbox_parent_file_move
- (CaptiveFileObject *captive_file_object_old,const gchar *pathname_new,gboolean force_replace);
+ (CaptiveFileParentObject *captive_file_parent_object_old,const gchar *pathname_new,gboolean force_replace);
G_END_DECLS
-#endif /* _CAPTIVE_CLIENT_PARENT_FILE_H */
+#endif /* _PARENT_FILE_H */