]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
fuse: Fix a few binding errors
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 31 Jan 2021 08:03:58 +0000 (09:03 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 31 Jan 2021 08:03:58 +0000 (09:03 +0100)
vapi/fuse.vapi

index d2c4b6c22fdf1101b9b4d475e7860f4feb17a3b7..5b40288f3564e2dd2389328dc941b15e92bae2b2 100644 (file)
@@ -44,65 +44,65 @@ namespace Fuse {
                Fuse fuse;
                Posix.uid_t uid;
                Posix.gid_t gid;
-               /*Posix.pid_t pid;*/
+               Posix.pid_t pid;
                void *private_data;
        }
 
        [CCode (cname = "fuse_fill_dir_t", has_target = false)]
        public delegate int FillDir (void* buf, string name, Posix.Stat? st, Posix.off_t offset);
 
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int GetAttr (string path, Posix.Stat* st);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Access (string path, int mask);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int ReadLink (string path, char* buf, size_t size);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int ReadDir (string path, void* buf, FillDir filler, Posix.off_t offset, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int MkNod (string path, Posix.mode_t mode, Posix.dev_t rdev);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int MkDir (string path, Posix.mode_t mode);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Unlink (string path);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int RmDir (string path);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Symlink (string from, string to);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Rename (string from, string to);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Link (string from, string to);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Chmod (string path, Posix.mode_t mode);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Chown (string path, Posix.uid_t uid, Posix.gid_t gid);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Truncate (string path, Posix.off_t size);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Utimens (string path, Posix.timespec[] ts);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Create(string path, Posix.mode_t mode, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Open (string path, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Read (string path, char* buf, size_t size, Posix.off_t offset, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Write (string path, char* buf, size_t size, Posix.off_t offset, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int StatFs (string path, Posix.statvfs *stbuf);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Release (string path, ref FileInfo fi);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int Fsync (string path, int isdatasync, ref FileInfo fi);
 
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int SetXAttr (string path, string name, char* value, size_t size, int flags);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int GetXAttr (string path, string name, char* value, size_t size);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int ListXAttr (string path, char* list, size_t size);
-       [CCode (has_target = false)]
+       [CCode (has_target = false, has_typedef = false)]
        public delegate int RemoveXAttr (string path, string name);
 
        [CCode (cname = "struct fuse_operations", has_type_id = false)]
@@ -136,5 +136,5 @@ namespace Fuse {
        }
 
        public int main ([CCode (array_length_pos = 0.9)] string[] args, Operations oper, void *user_data);
-       public Context get_context ();
+       public Context? get_context ();
 }