Subversion Repositories HelenOS

Rev

Rev 2730 | Rev 2734 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2730 Rev 2731
Line 45... Line 45...
45
#define VFS_FIRST   IPC_FIRST_USER_METHOD
45
#define VFS_FIRST   IPC_FIRST_USER_METHOD
46
 
46
 
47
#define IPC_METHOD_TO_VFS_OP(m) ((m) - VFS_FIRST)   
47
#define IPC_METHOD_TO_VFS_OP(m) ((m) - VFS_FIRST)   
48
 
48
 
49
typedef enum {
49
typedef enum {
50
    VFS_OPEN = VFS_FIRST,
50
    VFS_READ = VFS_FIRST,
51
    VFS_CLOSE,
-
 
52
    VFS_READ,
-
 
53
    VFS_WRITE,
51
    VFS_WRITE,
54
    VFS_TRUNCATE,
52
    VFS_TRUNCATE,
55
    VFS_RENAME,
-
 
56
    VFS_OPENDIR,
-
 
57
    VFS_READDIR,
-
 
58
    VFS_CLOSEDIR,
-
 
59
    VFS_MKDIR,
-
 
60
    VFS_UNLINK,
-
 
61
    VFS_MOUNT,
53
    VFS_MOUNT,
62
    VFS_UNMOUNT,
54
    VFS_UNMOUNT,
63
    VFS_LAST_CMN,   /* keep this the last member of this enum */
55
    VFS_LAST_CMN,   /* keep this the last member of this enum */
64
} vfs_request_cmn_t;
56
} vfs_request_cmn_t;
65
 
57
 
66
typedef enum {
58
typedef enum {
67
    VFS_LOOKUP = VFS_LAST_CMN,
59
    VFS_LOOKUP = VFS_LAST_CMN,
-
 
60
    VFS_FREE,
68
    VFS_LAST_CLNT,  /* keep this the last member of this enum */
61
    VFS_LAST_CLNT,  /* keep this the last member of this enum */
69
} vfs_request_clnt_t;
62
} vfs_request_clnt_t;
70
 
63
 
71
typedef enum {
64
typedef enum {
72
    VFS_REGISTER = VFS_LAST_CMN,
65
    VFS_REGISTER = VFS_LAST_CMN,
-
 
66
    VFS_OPEN,
-
 
67
    VFS_CLOSE,
73
    VFS_SEEK,
68
    VFS_SEEK,
-
 
69
    VFS_MKDIR,
-
 
70
    VFS_UNLINK,
-
 
71
    VFS_RENAME,
74
    VFS_LAST_SRV,   /* keep this the last member of this enum */
72
    VFS_LAST_SRV,   /* keep this the last member of this enum */
75
} vfs_request_srv_t;
73
} vfs_request_srv_t;
76
 
74
 
77
 
75
 
78
/**
76
/**