aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/src/commands.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-08-05 22:50:32 -0500
committerDan Williams <dcbw@redhat.com>2010-08-05 22:51:29 -0500
commitdbbac27f1ef518fca0b7aefe9c73cace82c3a5a4 (patch)
tree27e75498951843feeaafe3608545d845196a810d /libqcdm/src/commands.h
parent52f9c721d3f7201ca2f8ad6461cbb5fd8e50d822 (diff)
qcdm: add generic status snapshot command support
Diffstat (limited to 'libqcdm/src/commands.h')
-rw-r--r--libqcdm/src/commands.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/libqcdm/src/commands.h b/libqcdm/src/commands.h
index 75e83a7a..2577a797 100644
--- a/libqcdm/src/commands.h
+++ b/libqcdm/src/commands.h
@@ -148,6 +148,28 @@ QCDMResult *qcdm_cmd_sw_version_result (const char *buf,
/**********************************************************************/
+/* One of QCDM_CDMA_BAND_CLASS_* */
+#define QCDM_CMD_STATUS_SNAPSHOT_ITEM_BAND_CLASS "band-class"
+
+/* The protocol revision of the base station. One of QCDM_CDMA_PREV_* */
+#define QCDM_CMD_STATUS_SNAPSHOT_ITEM_BASE_STATION_PREV "prev"
+
+/* The protocol revision of the mobile terminal. One of QCDM_CDMA_PREV_* */
+#define QCDM_CMD_STATUS_SNAPSHOT_ITEM_MOBILE_PREV "mob-prev"
+
+/* The protocol revision currently in-use. One of QCDM_CDMA_PREV_* */
+#define QCDM_CMD_STATUS_SNAPSHOT_ITEM_PREV_IN_USE "prev-in-use"
+
+gsize qcdm_cmd_status_snapshot_new (char *buf,
+ gsize len,
+ GError **error);
+
+QCDMResult *qcdm_cmd_status_snapshot_result (const char *buf,
+ gsize len,
+ GError **error);
+
+/**********************************************************************/
+
enum {
QCDM_CMD_PILOT_SETS_TYPE_UNKNOWN = 0,
QCDM_CMD_PILOT_SETS_TYPE_ACTIVE = 1,