diff options
author | Dan Williams <dcbw@redhat.com> | 2010-08-25 19:57:58 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-08-25 19:57:58 -0500 |
commit | ee53c3c3c43f8af867808b39dd0ae44215535748 (patch) | |
tree | 61c2439e02aeb0f759d92ed8ee9d48b53db7dc23 /libqcdm/src/commands.h | |
parent | 319424ccb39680a8d67869cadd5d54cf96ed1d86 (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.h | 19 |
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, |