From 07aca97d83c52de1a5e0189cb5f7351ebe40185a Mon Sep 17 00:00:00 2001 From: erin_yueh Date: Fri, 18 Jan 2008 09:15:33 +0000 Subject: gsmd: add 'lgsm_open_n_get' to retrieve the current country code (Sean Chiang) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3876 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 eb45169..7f459c5 100644 --- a/src/libgsmd/libgsmd_network.c +++ b/src/libgsmd/libgsmd_network.c @@ -46,6 +46,11 @@ int lgsm_oper_get(struct lgsm_handle *lh) return lgsm_send_simple(lh, GSMD_MSG_NETWORK, GSMD_NETWORK_OPER_GET); } +int lgsm_oper_n_get(struct lgsm_handle *lh) +{ + return lgsm_send_simple(lh, GSMD_MSG_NETWORK, GSMD_NETWORK_OPER_N_GET); +} + int lgsm_opers_get(struct lgsm_handle *lh) { return lgsm_send_simple(lh, GSMD_MSG_NETWORK, GSMD_NETWORK_OPER_LIST); -- cgit v1.2.3