summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorerin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-12-19 09:34:34 +0000
committererin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-12-19 09:34:34 +0000
commit5f522a277d5ac93bae9d993cabc0f3e7b3dbb59e (patch)
treef4a1a4a61b01489242ad115921ecbbc1a09706c4 /include
parentcbbf4601211669ededac8d41d6adaec277af3e3b (diff)
gsmd: set and get Voicemail number (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3684 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include')
-rw-r--r--include/libgsmd/misc.h8
-rw-r--r--include/libgsmd/sms.h2
2 files changed, 2 insertions, 8 deletions
diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h
index 554d958..088f624 100644
--- a/include/libgsmd/misc.h
+++ b/include/libgsmd/misc.h
@@ -34,14 +34,6 @@ extern int lgsm_pin_auth(struct lgsm_handle *lh, const char *pin);
/* Get Signal Strehngth (Chapter 8.5) */
extern int lgsm_signal_quality(struct lgsm_handle *h);
-/* Set voice mail number */
-extern int lgsm_voicemail_set(struct lgsm_handle *lh,
- struct lgsm_addr *addr);
-
-/* Get currently configured voice mail number */
-extern int lgsm_voicemail_get(struct lgsm_handle *lh,
- struct lgsm_addr *addr);
-
/* Operator Selection, Network Registration */
extern int lgsm_oper_get(struct lgsm_handle *lh);
extern int lgsm_opers_get(struct lgsm_handle *lh);
diff --git a/include/libgsmd/sms.h b/include/libgsmd/sms.h
index 9808442..4575fd9 100644
--- a/include/libgsmd/sms.h
+++ b/include/libgsmd/sms.h
@@ -79,6 +79,8 @@ extern int lgsm_sms_get_storage(struct lgsm_handle *lh);
extern int lgsm_sms_set_storage(struct lgsm_handle *lh,
enum ts0705_mem_type mem1, enum ts0705_mem_type mem2,
enum ts0705_mem_type mem3);
+extern int lgsm_number2addr(struct gsmd_addr *dst, const char *src,
+ int skipplus);
/* Retrieve current default service centre address */
extern int lgsm_sms_get_smsc(struct lgsm_handle *lh);
personal git repositories of Harald Welte. Your mileage may vary