summaryrefslogtreecommitdiff
path: root/vapi/fuse.vapi
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2010-02-28 23:12:02 +0100
committerJürg Billeter <j@bitron.ch>2010-02-28 23:12:02 +0100
commit9a51222880eaaeb4591997b4bcab342eaab1cd00 (patch)
tree26e49268d35109cacaa4f5b7f0db88d866e18fa4 /vapi/fuse.vapi
parentba46ece055e60a6a33a5297a1d713e2860129e7d (diff)
downloadvala-9a51222880eaaeb4591997b4bcab342eaab1cd00.tar.gz
fuse: Various fixes
Diffstat (limited to 'vapi/fuse.vapi')
-rw-r--r--vapi/fuse.vapi15
1 files changed, 9 insertions, 6 deletions
diff --git a/vapi/fuse.vapi b/vapi/fuse.vapi
index 5b4cc749a..7fd3bd43f 100644
--- a/vapi/fuse.vapi
+++ b/vapi/fuse.vapi
@@ -58,7 +58,7 @@ namespace Fuse {
[CCode (has_target = false)]
public delegate int ReadLink (string path, char* buf, size_t size);
[CCode (has_target = false)]
- public delegate int ReadDir (string path, void* buf, FillDir filler, Posix.off_t offset, FileInfo fi);
+ public delegate int ReadDir (string path, void* buf, FillDir filler, Posix.off_t offset, ref FileInfo fi);
[CCode (has_target = false)]
public delegate int MkNod (string path, Posix.mode_t mode, Posix.dev_t rdev);
[CCode (has_target = false)]
@@ -82,17 +82,19 @@ namespace Fuse {
[CCode (has_target = false)]
public delegate int Utimens (string path, Posix.timespec[] ts);
[CCode (has_target = false)]
- public delegate int Open (string path, FileInfo fi);
+ public delegate int Create(string path, mode_t mode, ref FileInfo fi);
[CCode (has_target = false)]
- public delegate int Read (string path, char* buf, size_t size, Posix.off_t offset, FileInfo fi);
+ public delegate int Open (string path, ref FileInfo fi);
[CCode (has_target = false)]
- public delegate int Write (string path, char* buf, size_t size, Posix.off_t offset, FileInfo fi);
+ public delegate int Read (string path, char* buf, size_t size, Posix.off_t offset, ref FileInfo fi);
+ [CCode (has_target = false)]
+ public delegate int Write (string path, char* buf, size_t size, Posix.off_t offset, ref FileInfo fi);
[CCode (has_target = false)]
public delegate int StatFs (string path, Posix.statvfs *stbuf);
[CCode (has_target = false)]
- public delegate int Release (string path, FileInfo fi);
+ public delegate int Release (string path, ref FileInfo fi);
[CCode (has_target = false)]
- public delegate int Fsync (string path, int isdatasync, FileInfo fi);
+ public delegate int Fsync (string path, int isdatasync, ref FileInfo fi);
[CCode (has_target = false)]
public delegate int SetXAttr (string path, string name, char* value, size_t size, int flags);
@@ -120,6 +122,7 @@ namespace Fuse {
public Chown chown;
public Truncate truncate;
public Utimens utimens;
+ public Create create;
public Open open;
public Read read;
public Write write;