Changeset ade06b4 in mainline for uspace/srv/fs/tmpfs/tmpfs.h
- Timestamp:
- 2008-08-06T18:27:11Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93a9233
- Parents:
- 57b4f46
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/tmpfs/tmpfs.h
r57b4f46 rade06b4 45 45 #endif 46 46 47 typedef enum { 48 TMPFS_NONE, 49 TMPFS_FILE, 50 TMPFS_DIRECTORY 51 } tmpfs_dentry_type_t; 52 47 53 typedef struct tmpfs_dentry { 48 54 fs_index_t index; /**< TMPFS node index. */ … … 51 57 struct tmpfs_dentry *child; 52 58 hash_table_t names; /**< All names linking to this TMPFS node. */ 53 enum { 54 TMPFS_NONE, 55 TMPFS_FILE, 56 TMPFS_DIRECTORY 57 } type; 59 tmpfs_dentry_type_t type; 58 60 unsigned lnkcnt; /**< Link count. */ 59 61 size_t size; /**< File size if type is TMPFS_FILE. */
Note:
See TracChangeset
for help on using the changeset viewer.