Changeset 63c1dd5 in mainline for uspace/lib/c/include
- Timestamp:
- 2018-10-09T08:40:53Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63a045c
- Parents:
- ee9c703
- git-author:
- Jiri Svoboda <jiri@…> (2018-10-08 18:38:16)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-10-09 08:40:53)
- Location:
- uspace/lib/c/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/vol.h
ree9c703 r63c1dd5 48 48 VOL_PART_LSUPP, 49 49 VOL_PART_MKFS, 50 VOL_PART_SET_MOUNTP 50 VOL_PART_SET_MOUNTP, 51 VOL_GET_VOLUMES, 52 VOL_INFO 51 53 } vol_request_t; 52 54 -
uspace/lib/c/include/types/vol.h
ree9c703 r63c1dd5 41 41 #include <stdbool.h> 42 42 43 typedef struct { 44 sysarg_t id; 45 } volume_id_t; 46 43 47 typedef enum { 44 48 /** Partition is empty */ … … 82 86 } vol_part_info_t; 83 87 88 /** Volume configuration information */ 89 typedef struct { 90 /** Volume identifier */ 91 volume_id_t id; 92 /** Volume label */ 93 char label[VOL_LABEL_MAXLEN + 1]; 94 /** Mount path */ 95 char path[MAX_PATH_LEN + 1]; /* XXX too big */ 96 } vol_info_t; 97 84 98 /** Volume label support */ 85 99 typedef struct { -
uspace/lib/c/include/vol.h
ree9c703 r63c1dd5 55 55 const char *); 56 56 extern errno_t vol_part_set_mountp(vol_t *, service_id_t, const char *); 57 57 extern errno_t vol_get_volumes(vol_t *, volume_id_t **, size_t *); 58 extern errno_t vol_info(vol_t *, volume_id_t, vol_info_t *); 58 59 extern errno_t vol_fstype_format(vol_fstype_t, char **); 59 60 extern errno_t vol_pcnt_fs_format(vol_part_cnt_t, vol_fstype_t, char **);
Note:
See TracChangeset
for help on using the changeset viewer.
