aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/src/dm-commands.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-02-22 16:15:19 -0800
committerDan Williams <dcbw@redhat.com>2010-02-22 16:15:19 -0800
commitc937d1399bd5185c813ef02109834fcac2dc2898 (patch)
treebf87b0ca5b492ed2e0ae3b3e8d5d2012dce39cfa /libqcdm/src/dm-commands.h
parentb50638dcbe7dda084b542cf47c652e95c97aa037 (diff)
qcdm: add SW_VERSION command
Diffstat (limited to 'libqcdm/src/dm-commands.h')
-rw-r--r--libqcdm/src/dm-commands.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libqcdm/src/dm-commands.h b/libqcdm/src/dm-commands.h
index 5bb05b35..f575b7ef 100644
--- a/libqcdm/src/dm-commands.h
+++ b/libqcdm/src/dm-commands.h
@@ -210,6 +210,14 @@ struct DMCmdStatusRsp {
} __attribute__ ((packed));
typedef struct DMCmdStatusRsp DMCmdStatusRsp;
+/* DIAG_CMD_SW_VERSION */
+struct DMCmdSwVersionRsp {
+ guint8 code;
+ char version[20];
+ char comp_date[11];
+ char comp_time[8];
+} __attribute__ ((packed));
+typedef struct DMCmdSwVersionRsp DMCmdSwVersionRsp;
#endif /* LIBQCDM_DM_COMMANDS_H */