Changeset e47a032 in mainline for uspace/lib/device/include/hr.h
- Timestamp:
- 2024-10-28T20:02:39Z (7 months ago)
- Children:
- 9fc1d36d
- Parents:
- 066fed9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/device/include/hr.h
r066fed9 re47a032 54 54 } hr_level_t; 55 55 56 typedef enum hr_vol_status { 57 HR_VOL_ONLINE, /* OK, OPTIMAL */ 58 HR_VOL_FAULTY 59 } hr_vol_status_t; 60 61 typedef enum hr_ext_status { 62 HR_EXT_ONLINE, /* OK */ 63 HR_EXT_MISSING, 64 HR_EXT_FAILED 65 } hr_ext_status_t; 66 56 67 typedef struct hr { 57 68 async_sess_t *sess; … … 67 78 typedef struct hr_extent { 68 79 service_id_t svc_id; 69 int status;80 hr_ext_status_t status; 70 81 } hr_extent_t; 71 82 … … 78 89 uint32_t strip_size; 79 90 size_t bsize; 91 hr_vol_status_t status; 80 92 } hr_vol_info_t; 81 93 … … 87 99 extern errno_t hr_print_status(void); 88 100 101 extern const char *hr_get_vol_status_msg(hr_vol_status_t); 102 extern const char *hr_get_ext_status_msg(hr_ext_status_t); 103 89 104 #endif 90 105
Note:
See TracChangeset
for help on using the changeset viewer.