aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/src/commands.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-08-25 19:57:58 -0500
committerDan Williams <dcbw@redhat.com>2010-08-25 19:57:58 -0500
commitee53c3c3c43f8af867808b39dd0ae44215535748 (patch)
tree61c2439e02aeb0f759d92ed8ee9d48b53db7dc23 /libqcdm/src/commands.h
parent319424ccb39680a8d67869cadd5d54cf96ed1d86 (diff)
qcdm: add bits for getting/setting the log mask
No code to actually start logging yet, just sets the mask.
Diffstat (limited to 'libqcdm/src/commands.h')
-rw-r--r--libqcdm/src/commands.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/libqcdm/src/commands.h b/libqcdm/src/commands.h
index 32402909..91997f3b 100644
--- a/libqcdm/src/commands.h
+++ b/libqcdm/src/commands.h
@@ -440,6 +440,25 @@ QCDMResult *qcdm_cmd_hdr_subsys_state_info_result (const char *buf,
/**********************************************************************/
+/* Max # of log items this device supports */
+#define QCDM_CMD_EXT_LOGMASK_ITEM_MAX_ITEMS "max-items"
+
+gsize qcdm_cmd_ext_logmask_new (char *buf,
+ gsize len,
+ GSList *items,
+ guint16 maxlog,
+ GError **error);
+
+QCDMResult *qcdm_cmd_ext_logmask_result (const char *buf,
+ gsize len,
+ GError **error);
+
+/* Returns TRUE if 'item' is set in the log mask */
+gboolean qcmd_cmd_ext_logmask_result_get_item (QCDMResult *result,
+ guint16 item);
+
+/**********************************************************************/
+
#define QCDM_CMD_ZTE_SUBSYS_STATUS_ITEM_SIGNAL_INDICATOR "signal-indicator"
gsize qcdm_cmd_zte_subsys_status_new (char *buf,