Changes in uspace/app/hdisk/common.h [6e8e4e19:a2aa81cb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/hdisk/common.h
r6e8e4e19 ra2aa81cb 39 39 #include <libgpt.h> 40 40 41 typedef enum {42 LYT_NONE,43 LYT_MBR,44 LYT_GPT,45 } layouts_t;46 47 41 union label_data { 48 42 mbr_label_t *mbr; … … 50 44 }; 51 45 52 typedef struct label label_t;53 54 struct label {55 layouts_t layout;56 union label_data data;57 unsigned int alignment;58 int (* destroy_label)(label_t *);59 int (* add_part) (label_t *, tinput_t *);60 int (* delete_part) (label_t *, tinput_t *);61 int (* new_label) (label_t *);62 int (* print_parts) (label_t *);63 int (* read_parts) (label_t *, service_id_t);64 int (* write_parts) (label_t *, service_id_t);65 int (* extra_funcs) (label_t *, tinput_t *, service_id_t);66 };67 68 46 #endif 69 47
Note:
See TracChangeset
for help on using the changeset viewer.