#include <glib/gmacros.h>
#include <glib/gtypes.h>
+#include <glib-object.h>
+#include "../sandbox/sandbox.h"
+#include <libxml/tree.h>
+#include "captive/options.h"
+#include "captive/client-vfs.h"
+#include "captive/client-directory.h"
+#include "captive/client-file.h"
G_BEGIN_DECLS
};
struct _CaptiveVfsObjectClass {
GObjectClass parent_class;
+
+ GnomeVFSResult (*init)(CaptiveVfsObject *captive_vfs_object);
+ GnomeVFSResult (*commit)(CaptiveVfsObject *captive_vfs_object);
+ GnomeVFSResult (*volume_info_get)(CaptiveVfsObject *captive_vfs_object,CaptiveVfsVolumeInfo *volume_info);
+
+ GnomeVFSResult (*directory_new_open)(CaptiveDirectoryObject **captive_directory_object_return,
+ CaptiveVfsObject *captive_vfs_object,const gchar *pathname);
+ GnomeVFSResult (*directory_new_make)(CaptiveDirectoryObject **captive_directory_object_return,
+ CaptiveVfsObject *captive_vfs_object,const gchar *pathname,guint perm);
+
+ GnomeVFSResult (*file_new_open)(CaptiveFileObject **captive_file_object_return,
+ CaptiveVfsObject *captive_vfs_object,const gchar *pathname,GnomeVFSOpenMode mode);
+ GnomeVFSResult (*file_new_create)(CaptiveFileObject **captive_file_object_return,
+ CaptiveVfsObject *captive_vfs_object,const gchar *pathname,GnomeVFSOpenMode mode,gboolean exclusive,guint perm);
};
G_END_DECLS