Changeset b598460a in mainline for uspace/lib/fdisk/include/types/fdisk.h
- Timestamp:
- 2015-10-21T09:27:06Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 852664b9
- Parents:
- 68b5dd11
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fdisk/include/types/fdisk.h
r68b5dd11 rb598460a 45 45 #include <vol.h> 46 46 47 /** Capacity unit */ 47 48 typedef enum { 48 49 cu_byte = 0, … … 56 57 cu_ybyte 57 58 } fdisk_cunit_t; 59 60 typedef enum { 61 /** Primary partition space */ 62 spc_pri, 63 /** Logical partition space */ 64 spc_log 65 } fdisk_spc_t; 58 66 59 67 /** Fdisk device flags */ … … 177 185 } fdisk_part_info_t; 178 186 187 /** Free range iterator */ 188 typedef struct { 189 /** Device */ 190 fdisk_dev_t *dev; 191 /** Primary or logical partition space */ 192 fdisk_spc_t spc; 193 /** First block of free range */ 194 aoff64_t b0; 195 /** Next partition following the free range or @c NULL if the range 196 * is at the end. */ 197 fdisk_part_t *npart; 198 } fdisk_free_range_t; 199 179 200 /** Fdisk instance */ 180 201 typedef struct fdisk {
Note:
See TracChangeset
for help on using the changeset viewer.