Changeset c24b0dcb in mainline for uspace/lib/fdisk/include
- Timestamp:
- 2019-09-30T16:38:33Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8f57fb2
- Parents:
- ef0a3375
- git-author:
- Jakub Jermar <jakub@…> (2019-09-30 16:34:10)
- git-committer:
- Jakub Jermar <jakub@…> (2019-09-30 16:38:33)
- Location:
- uspace/lib/fdisk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fdisk/include/fdisk.h
ref0a3375 rc24b0dcb 50 50 extern errno_t fdisk_dev_info_get_svcname(fdisk_dev_info_t *, char **); 51 51 extern void fdisk_dev_info_get_svcid(fdisk_dev_info_t *, service_id_t *); 52 extern errno_t fdisk_dev_info_capacity(fdisk_dev_info_t *, cap _spec_t *);52 extern errno_t fdisk_dev_info_capacity(fdisk_dev_info_t *, capa_spec_t *); 53 53 54 54 extern errno_t fdisk_dev_open(fdisk_t *, service_id_t, fdisk_dev_t **); … … 57 57 extern void fdisk_dev_get_flags(fdisk_dev_t *, fdisk_dev_flags_t *); 58 58 extern errno_t fdisk_dev_get_svcname(fdisk_dev_t *, char **); 59 extern errno_t fdisk_dev_capacity(fdisk_dev_t *, cap _spec_t *);59 extern errno_t fdisk_dev_capacity(fdisk_dev_t *, capa_spec_t *); 60 60 61 61 extern errno_t fdisk_label_get_info(fdisk_dev_t *, fdisk_label_info_t *); … … 66 66 extern fdisk_part_t *fdisk_part_next(fdisk_part_t *); 67 67 extern errno_t fdisk_part_get_info(fdisk_part_t *, fdisk_part_info_t *); 68 extern errno_t fdisk_part_get_max_avail(fdisk_dev_t *, fdisk_spc_t, cap _spec_t *);69 extern errno_t fdisk_part_get_tot_avail(fdisk_dev_t *, fdisk_spc_t, cap _spec_t *);68 extern errno_t fdisk_part_get_max_avail(fdisk_dev_t *, fdisk_spc_t, capa_spec_t *); 69 extern errno_t fdisk_part_get_tot_avail(fdisk_dev_t *, fdisk_spc_t, capa_spec_t *); 70 70 extern errno_t fdisk_part_create(fdisk_dev_t *, fdisk_part_spec_t *, 71 71 fdisk_part_t **); -
uspace/lib/fdisk/include/types/fdisk.h
ref0a3375 rc24b0dcb 38 38 39 39 #include <adt/list.h> 40 #include <cap .h>40 #include <capa.h> 41 41 #include <loc.h> 42 42 #include <stdint.h> … … 126 126 link_t llog_ba; 127 127 /** Capacity */ 128 cap _spec_t capacity;128 capa_spec_t capacity; 129 129 /** Partition kind */ 130 130 label_pkind_t pkind; … … 150 150 typedef struct { 151 151 /** Desired capacity */ 152 cap _spec_t capacity;152 capa_spec_t capacity; 153 153 /** Partition kind */ 154 154 label_pkind_t pkind; … … 164 164 typedef struct { 165 165 /** Capacity */ 166 cap _spec_t capacity;166 capa_spec_t capacity; 167 167 /** Partition kind */ 168 168 label_pkind_t pkind;
Note:
See TracChangeset
for help on using the changeset viewer.