summaryrefslogtreecommitdiff
path: root/src/libgsmd/libgsmd_phone.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgsmd/libgsmd_phone.c')
-rw-r--r--src/libgsmd/libgsmd_phone.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libgsmd/libgsmd_phone.c b/src/libgsmd/libgsmd_phone.c
index 83e31e8..44082be 100644
--- a/src/libgsmd/libgsmd_phone.c
+++ b/src/libgsmd/libgsmd_phone.c
@@ -50,3 +50,7 @@ int lgsm_get_imsi(struct lgsm_handle *lh)
return lgsm_send_simple(lh, GSMD_MSG_PHONE, GSMD_PHONE_GET_IMSI);
}
+int lgsm_pin_status(struct lgsm_handle *lh)
+{
+ return lgsm_send_simple(lh, GSMD_MSG_PHONE, GSMD_PIN_GET_STATUS);
+}
personal git repositories of Harald Welte. Your mileage may vary