From ad708e46d7a8adc45aa8b9ec2ff7b110303f708f Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 17 Aug 2007 08:36:48 +0000 Subject: Add retrieving phone's own subscriber number. (Andrzej Zaborowski) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2733 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/libgsmd/libgsmd_network.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libgsmd') diff --git a/src/libgsmd/libgsmd_network.c b/src/libgsmd/libgsmd_network.c index 0b458de..333debd 100644 --- a/src/libgsmd/libgsmd_network.c +++ b/src/libgsmd/libgsmd_network.c @@ -128,3 +128,8 @@ int lgsm_prefoper_get_space(struct lgsm_handle *lh) { return lgsm_send_simple(lh, GSMD_MSG_NETWORK, GSMD_NETWORK_PREF_SPACE); } + +int lgsm_get_subscriber_num(struct lgsm_handle *lh) +{ + return lgsm_send_simple(lh, GSMD_MSG_NETWORK, GSMD_NETWORK_GET_NUMBER); +} -- cgit v1.2.3