From 86c7ff07f100489d085efd6541b8c104a44209e0 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 17 Aug 2007 08:32:14 +0000 Subject: From: Andrzej Zaborowski Date: Tue, 31 Jul 2007 22:26:36 +0200 Subject: [PATCH] Operations on the preferred operators list. This makes use of the AT+CPOL variants to add / delete / list entries in the preferred operators list on the SIM. There's some inconsistency, similarly as with operator selection, in that we return operator names in long alphanumeric format but we take only operators in numeric format as parameters. Either the client will have to convert between the formats or we should always use for example the long alphanumeric format, or maybe do something else. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2725 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/libgsmd/misc.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/libgsmd') diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h index 9988518..d673c31 100644 --- a/include/libgsmd/misc.h +++ b/include/libgsmd/misc.h @@ -62,6 +62,12 @@ enum lgsm_netreg_state { extern int lgsm_get_netreg_state(struct lgsm_handle *lh, enum lgsm_netreg_state *state); +/* Preferred operator list management */ +extern int lgsm_prefoper_list(struct lgsm_handle *lh); +extern int lgsm_prefoper_delete(struct lgsm_handle *lh, int index); +extern int lgsm_prefoper_add(struct lgsm_handle *lh, gsmd_oper_numeric oper); +extern int lgsm_prefoper_get_space(struct lgsm_handle *lh); + /* CLIP, CLIR, COLP, Call Forwarding, Call Waiting, Call Deflecting */ /* TBD */ -- cgit v1.2.3