aboutsummaryrefslogtreecommitdiff
path: root/includes/storage_util.h
diff options
context:
space:
mode:
authorOndrej Čerman <ondrej.cerman@gmail.com>2021-10-16 22:30:58 +0200
committerOndrej Čerman <ondrej.cerman@gmail.com>2021-10-17 22:26:13 +0200
commite941b2ada4ef3cad921d0fe87dcc75baf2cdcb73 (patch)
treeea9b43f9c8be4469cf7c10a73b62504e579c5990 /includes/storage_util.h
parent7d647c8eafb9d408f8984c24774e2c1e3339cca0 (diff)
devices/storage - refactoring - all code that is extending udisks2 information has been moved to separate file.
Diffstat (limited to 'includes/storage_util.h')
-rw-r--r--includes/storage_util.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/includes/storage_util.h b/includes/storage_util.h
new file mode 100644
index 00000000..8dfed42f
--- /dev/null
+++ b/includes/storage_util.h
@@ -0,0 +1,17 @@
+#include "vendor.h"
+#include "pci_util.h"
+
+// udisks2 drive info extended
+typedef struct u2driveext {
+ udiskd *d;
+ pcid *nvme_controller;
+ vendor_list vendors;
+} u2driveext;
+
+
+GSList *get_udisks2_drives_ext();
+
+u2driveext* u2drive_ext(udiskd * udisks_drive_data);
+void u2driveext_free(u2driveext *u);
+
+void udisks2_shutdown();