Revision c494dd6f hw/file-op-9p.h

b/hw/file-op-9p.h
29 29
{
30 30
    int (*lstat)(FsContext *, const char *, struct stat *);
31 31
    ssize_t (*readlink)(FsContext *, const char *, char *, size_t);
32
    int (*chmod)(FsContext *, const char *, mode_t);
33
    int (*mknod)(FsContext *, const char *, mode_t, dev_t);
34
    int (*mksock)(FsContext *, const char *);
35
    int (*symlink)(FsContext *, const char *, const char *);
36
    int (*link)(FsContext *, const char *, const char *);
32 37
    int (*setuid)(FsContext *, uid_t);
33 38
    int (*close)(FsContext *, int);
34 39
    int (*closedir)(FsContext *, DIR *);
35 40
    DIR *(*opendir)(FsContext *, const char *);
36 41
    int (*open)(FsContext *, const char *, int);
42
    int (*open2)(FsContext *, const char *, int, mode_t);
37 43
    void (*rewinddir)(FsContext *, DIR *);
38 44
    off_t (*telldir)(FsContext *, DIR *);
39 45
    struct dirent *(*readdir)(FsContext *, DIR *);
......
41 47
    ssize_t (*readv)(FsContext *, int, const struct iovec *, int);
42 48
    ssize_t (*writev)(FsContext *, int, const struct iovec *, int);
43 49
    off_t (*lseek)(FsContext *, int, off_t, int);
50
    int (*mkdir)(FsContext *, const char *, mode_t);
51
    int (*fstat)(FsContext *, int, struct stat *);
44 52
    void *opaque;
45 53
} FileOperations;
46 54
#endif

Also available in: Unified diff