chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Export ID_WWN_VENDOR_EXTENSION and ID_WWN_WITH_EXTENSION
[elogind.git]
/
extras
/
scsi_id
/
scsi_id.h
diff --git
a/extras/scsi_id/scsi_id.h
b/extras/scsi_id/scsi_id.h
index 4536cfd4f2596f260aa277296837d68c5f6fa21d..3b8b236368e50c9461681c73e5ed1529e3af3e98 100644
(file)
--- a/
extras/scsi_id/scsi_id.h
+++ b/
extras/scsi_id/scsi_id.h
@@
-1,4
+1,5
@@
-/*
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ *
* scsi_id.h
*
* General defines and such for scsi_id
* scsi_id.h
*
* General defines and such for scsi_id
@@
-45,6
+46,9
@@
struct scsi_id_device {
/* NULs if not set - otherwise hex encoding using lower-case e.g. '50014ee0016eb572' */
char wwn[17];
/* NULs if not set - otherwise hex encoding using lower-case e.g. '50014ee0016eb572' */
char wwn[17];
+
+ /* NULs if not set - otherwise hex encoding using lower-case e.g. '0xe00000d80000' */
+ char wwn_vendor_extension[17];
};
extern int scsi_std_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, const char *devname);
};
extern int scsi_std_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, const char *devname);