Changes in uspace/lib/fdisk/include/fdisk.h [6c4eedf:03661d19] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fdisk/include/fdisk.h
r6c4eedf r03661d19 39 39 #include <loc.h> 40 40 #include <types/fdisk.h> 41 #include <types/vol.h>42 41 43 42 extern int fdisk_create(fdisk_t **); … … 49 48 extern int fdisk_dev_info_get_svcname(fdisk_dev_info_t *, char **); 50 49 extern void fdisk_dev_info_get_svcid(fdisk_dev_info_t *, service_id_t *); 51 extern int fdisk_dev_info_capacity(fdisk_dev_info_t *, cap_spec_t *);50 extern int fdisk_dev_info_capacity(fdisk_dev_info_t *, fdisk_cap_t *); 52 51 53 52 extern int fdisk_dev_open(fdisk_t *, service_id_t, fdisk_dev_t **); … … 56 55 extern void fdisk_dev_get_flags(fdisk_dev_t *, fdisk_dev_flags_t *); 57 56 extern int fdisk_dev_get_svcname(fdisk_dev_t *, char **); 58 extern int fdisk_dev_capacity(fdisk_dev_t *, cap_spec_t *);57 extern int fdisk_dev_capacity(fdisk_dev_t *, fdisk_cap_t *); 59 58 60 59 extern int fdisk_label_get_info(fdisk_dev_t *, fdisk_label_info_t *); … … 65 64 extern fdisk_part_t *fdisk_part_next(fdisk_part_t *); 66 65 extern int fdisk_part_get_info(fdisk_part_t *, fdisk_part_info_t *); 67 extern int fdisk_part_get_max_avail(fdisk_dev_t *, fdisk_spc_t, cap_spec_t *);68 extern int fdisk_part_get_tot_avail(fdisk_dev_t *, fdisk_spc_t, cap_spec_t *);66 extern int fdisk_part_get_max_avail(fdisk_dev_t *, fdisk_spc_t, fdisk_cap_t *); 67 extern int fdisk_part_get_tot_avail(fdisk_dev_t *, fdisk_spc_t, fdisk_cap_t *); 69 68 extern int fdisk_part_create(fdisk_dev_t *, fdisk_part_spec_t *, 70 69 fdisk_part_t **); … … 72 71 extern void fdisk_pspec_init(fdisk_part_spec_t *); 73 72 73 extern int fdisk_cap_format(fdisk_cap_t *, char **); 74 extern int fdisk_cap_parse(const char *, fdisk_cap_t *); 75 extern void fdisk_cap_simplify(fdisk_cap_t *); 76 extern void fdisk_cap_from_blocks(uint64_t, size_t, fdisk_cap_t *); 77 extern int fdisk_cap_to_blocks(fdisk_cap_t *, fdisk_cvsel_t, size_t, uint64_t *); 78 74 79 extern int fdisk_ltype_format(label_type_t, char **); 75 80 extern int fdisk_fstype_format(vol_fstype_t, char **); 76 81 extern int fdisk_pkind_format(label_pkind_t, char **); 77 78 extern int fdisk_get_vollabel_support(fdisk_dev_t *, vol_fstype_t,79 vol_label_supp_t *);80 82 81 83 #endif
Note:
See TracChangeset
for help on using the changeset viewer.