diff options
author | Ondrej Čerman <ondrej.cerman@gmail.com> | 2019-07-07 11:24:08 +0200 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2019-07-10 12:25:23 -0700 |
commit | 51b6b209d270a646e82a70e9ea8450af6902504d (patch) | |
tree | e1afcade64f258ee933f3e0bb5c6223b47fa0ba1 /includes | |
parent | d2a3384ac0348306b691657e8cb34f28cbfec550 (diff) |
devices/storage: added partitions info
Diffstat (limited to 'includes')
-rw-r--r-- | includes/udisks2_util.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/includes/udisks2_util.h b/includes/udisks2_util.h index 8a57a825..abaad8eb 100644 --- a/includes/udisks2_util.h +++ b/includes/udisks2_util.h @@ -1,3 +1,12 @@ +typedef struct udiskp { + gchar *block; + gchar *type; + gchar *version; + gchar *label; + guint64 size; + struct udiskp* next; +} udiskp; + typedef struct udiskd { gchar *model; gchar *vendor; @@ -6,7 +15,7 @@ typedef struct udiskd { gchar *serial; gchar *connection_bus; gchar *partition_table; - gchar *partitions; + udiskp *partitions; gboolean ejectable; gboolean removable; gint32 rotation_rate; |