Changeset 78d50bd in mainline for uspace/lib/label/include/types/liblabel.h
- Timestamp:
- 2015-06-29T18:47:07Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3faa03d
- Parents:
- 28ed0d9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/label/include/types/liblabel.h
r28ed0d9 r78d50bd 39 39 #include <adt/list.h> 40 40 #include <types/label.h> 41 #include <sys/types.h> 41 42 #include <vol.h> 42 43 … … 48 49 } label_info_t; 49 50 51 typedef struct { 52 /** Address of first block */ 53 aoff64_t block0; 54 /** Number of blocks */ 55 aoff64_t nblocks; 56 } label_part_info_t; 57 50 58 /** Partition */ 51 59 typedef struct { 52 60 /** Containing label */ 53 61 struct label *label; 54 /** Link to fdisk_dev_t.parts */ 55 link_t ldev; 56 /** Capacity */ 57 // fdisk_cap_t capacity; 58 /** File system type */ 59 // fdisk_fstype_t fstype; 62 /** Link to label_t.parts */ 63 link_t llabel; 60 64 } label_part_t; 61 65 62 66 /** Specification of new partition */ 63 67 typedef struct { 64 /** Desired capacity */65 // fdisk_cap_t capacity;66 /** File system type */67 // fdisk_fstype_t fstype;68 68 } label_part_spec_t; 69 69 70 70 /** Label instance */ 71 71 typedef struct label { 72 /** Partitions */ 73 list_t parts; /* of label_part_t */ 72 74 } label_t; 73 75
Note:
See TracChangeset
for help on using the changeset viewer.