summaryrefslogtreecommitdiffstats
path: root/plugins/wdc/wdc-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wdc/wdc-utils.h')
-rw-r--r--plugins/wdc/wdc-utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/wdc/wdc-utils.h b/plugins/wdc/wdc-utils.h
index 83b208e..3fc47ca 100644
--- a/plugins/wdc/wdc-utils.h
+++ b/plugins/wdc/wdc-utils.h
@@ -31,6 +31,7 @@
#include <sys/time.h>
#include <sys/stat.h>
+#include <stdbool.h>
#include <string.h>
#include <unistd.h>
@@ -76,4 +77,5 @@ int wdc_UtilsStrCompare(char *pcSrc, char *pcDst);
int wdc_UtilsCreateDir(char *path);
int wdc_WriteToFile(char *fileName, char *buffer, unsigned int bufferLen);
void wdc_StrFormat(char *formatter, size_t fmt_sz, char *tofmt, size_t tofmtsz);
-
+bool wdc_CheckUuidListSupport(struct nvme_dev *dev, struct nvme_id_uuid_list *uuid_list);
+bool wdc_UuidEqual(struct nvme_id_uuid_list_entry *entry1, struct nvme_id_uuid_list_entry *entry2);