Initial original import from: fuse-2.4.2-2.fc4
[captive.git] / src / libcaptive / client / vfs.h
index b1103e4..a4efe4e 100644 (file)
 
 #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
@@ -35,6 +42,20 @@ struct _CaptiveVfsObject {
        };
 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