summaryrefslogtreecommitdiff
path: root/src/qmicli/qmicli-helpers.h
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2020-10-22 12:48:18 +0200
committerStephan Gerhold <stephan@gerhold.net>2020-10-23 17:45:31 +0200
commitad7b88196c2f53695c270e82862da47dc785aa10 (patch)
treef784bc76ca5448866902b6602a81c83e32d94a10 /src/qmicli/qmicli-helpers.h
parentd9f024df6af2f8494c0e22ecf4818566ba8dd05f (diff)
downloadlibqmi-ad7b88196c2f53695c270e82862da47dc785aa10.tar.gz
qmicli,loc: Add --get/set-engine-lock
This allows checking if the location engine is locked and removing the lock if necessary.
Diffstat (limited to 'src/qmicli/qmicli-helpers.h')
-rw-r--r--src/qmicli/qmicli-helpers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qmicli/qmicli-helpers.h b/src/qmicli/qmicli-helpers.h
index 315ea1e7..54d7b406 100644
--- a/src/qmicli/qmicli-helpers.h
+++ b/src/qmicli/qmicli-helpers.h
@@ -48,7 +48,8 @@
QMICLI_ENUM_LIST_ITEM (QmiDmsMacType, dms_mac_type, "mac address type") \
QMICLI_ENUM_LIST_ITEM (QmiSarRfState, sar_rf_state, "sar rf state") \
QMICLI_ENUM_LIST_ITEM (QmiSioPort, sio_port, "sio port") \
- QMICLI_ENUM_LIST_ITEM (QmiLocOperationMode, loc_operation_mode, "operation mode")
+ QMICLI_ENUM_LIST_ITEM (QmiLocOperationMode, loc_operation_mode, "operation mode") \
+ QMICLI_ENUM_LIST_ITEM (QmiLocLockType, loc_lock_type, "lock type")
#define QMICLI_ENUM_LIST_ITEM(TYPE,TYPE_UNDERSCORE,DESCR) \
gboolean qmicli_read_## TYPE_UNDERSCORE ##_from_string (const gchar *str, TYPE *out);