From 5f01c706267c595de92406a32e7f31ef5056c2d0 Mon Sep 17 00:00:00 2001 From: Lucas de Castro Borges Date: Mon, 22 Apr 2024 00:35:53 -0300 Subject: New upstream version 2.0.3pre --- includes/storage_util.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 includes/storage_util.h (limited to 'includes/storage_util.h') diff --git a/includes/storage_util.h b/includes/storage_util.h new file mode 100644 index 00000000..7774e71f --- /dev/null +++ b/includes/storage_util.h @@ -0,0 +1,22 @@ +#include "vendor.h" +#include "pci_util.h" + +// udisks2 drive info extended +typedef struct u2driveext { + udiskd *d; + pcid *nvme_controller; + struct{ + gchar *oui; + gchar *vendor; + } wwid_oui; + vendor_list vendors; +} u2driveext; + + +GSList *get_udisks2_drives_ext(); + +u2driveext* u2drive_ext(udiskd * udisks_drive_data); +void u2driveext_free(u2driveext *u); + +void udisks2_shutdown(void); +void storage_shutdown(void); -- cgit v1.2.3