Changeset 4198f9c3 in mainline for uspace/lib/libc/include/ipc/vfs.h


Ignore:
Timestamp:
2009-06-28T13:43:15Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
852b801
Parents:
6408be3
Message:

Separate the VFS input and output protocols.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/ipc/vfs.h

    r6408be3 r4198f9c3  
    5858
    5959typedef enum {
    60         VFS_OPEN_NODE = IPC_FIRST_USER_METHOD,
    61         VFS_READ,
    62         VFS_WRITE,
    63         VFS_TRUNCATE,
    64         VFS_MOUNT,
    65         VFS_UNMOUNT,
    66         VFS_DEVICE,
    67         VFS_SYNC,
    68         VFS_CLOSE,
    69         VFS_LAST_CMN  /* keep this the last member of this enum */
    70 } vfs_request_cmn_t;
     60        VFS_IN_OPEN = IPC_FIRST_USER_METHOD,
     61        VFS_IN_OPEN_NODE,
     62        VFS_IN_READ,
     63        VFS_IN_WRITE,
     64        VFS_IN_SEEK,
     65        VFS_IN_TRUNCATE,
     66        VFS_IN_CLOSE,
     67        VFS_IN_MOUNT,
     68        VFS_IN_UNMOUNT,
     69        VFS_IN_DEVICE,
     70        VFS_IN_SYNC,
     71        VFS_IN_REGISTER,
     72        VFS_IN_MKDIR,
     73        VFS_IN_UNLINK,
     74        VFS_IN_RENAME,
     75        VFS_IN_NODE
     76} vfs_in_request_t;
    7177
    7278typedef enum {
    73         VFS_LOOKUP = VFS_LAST_CMN,
    74         VFS_MOUNTED,
    75         VFS_DESTROY,
    76         VFS_LAST_CLNT  /* keep this the last member of this enum */
    77 } vfs_request_clnt_t;
    78 
    79 typedef enum {
    80         VFS_REGISTER = VFS_LAST_CMN,
    81         VFS_OPEN,
    82         VFS_SEEK,
    83         VFS_MKDIR,
    84         VFS_UNLINK,
    85         VFS_RENAME,
    86         VFS_NODE,
    87         VFS_LAST_SRV  /* keep this the last member of this enum */
    88 } vfs_request_srv_t;
     79        VFS_OUT_OPEN_NODE = IPC_FIRST_USER_METHOD,
     80        VFS_OUT_READ,
     81        VFS_OUT_WRITE,
     82        VFS_OUT_TRUNCATE,
     83        VFS_OUT_CLOSE,
     84        VFS_OUT_MOUNT,
     85        VFS_OUT_MOUNTED,
     86        VFS_OUT_UNMOUNT,
     87        VFS_OUT_DEVICE,
     88        VFS_OUT_SYNC,
     89        VFS_OUT_LOOKUP,
     90        VFS_OUT_DESTROY,
     91        VFS_OUT_LAST
     92} vfs_out_request_t;
    8993
    9094/*
Note: See TracChangeset for help on using the changeset viewer.