Changeset 4863e50b in mainline for uspace/srv/vfs/vfs.h


Ignore:
Timestamp:
2009-01-31T23:15:13Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4a10b63
Parents:
516ff92
Message:

Nuke VFS operations structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.h

    r516ff92 r4863e50b  
    4848#define VFS_FIRST       IPC_FIRST_USER_METHOD
    4949
    50 #define IPC_METHOD_TO_VFS_OP(m) ((m) - VFS_FIRST)       
    51 
    5250/* Basic types. */
    5351typedef int16_t fs_handle_t;
     
    8280} vfs_request_srv_t;
    8381
    84 
    85 /**
    86  * An instance of this structure is associated with a particular FS operation.
    87  * It tells VFS if the FS supports the operation or maybe if a default one
    88  * should be used.
    89  */
    90 typedef enum {
    91         VFS_OP_NULL = 0,
    92         VFS_OP_DEFAULT,
    93         VFS_OP_DEFINED
    94 } vfs_op_t;
    95 
    9682#define FS_NAME_MAXLEN  20
    9783
     
    9985 * A structure like this is passed to VFS by each individual FS upon its
    10086 * registration. It assosiates a human-readable identifier with each
    101  * registered FS. More importantly, through this structure, the FS announces
    102  * what operations it supports.
     87 * registered FS.
    10388 */
    10489typedef struct {
    10590        /** Unique identifier of the fs. */
    10691        char name[FS_NAME_MAXLEN + 1];
    107        
    108         /** Operations. */
    109         vfs_op_t ops[VFS_LAST_CLNT - VFS_FIRST];
    11092} vfs_info_t;
    11193
Note: See TracChangeset for help on using the changeset viewer.