summaryrefslogtreecommitdiff
path: root/src/libgsmd/libgsmd_phonebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgsmd/libgsmd_phonebook.c')
-rw-r--r--src/libgsmd/libgsmd_phonebook.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/libgsmd/libgsmd_phonebook.c b/src/libgsmd/libgsmd_phonebook.c
index f139c2a..798cd2f 100644
--- a/src/libgsmd/libgsmd_phonebook.c
+++ b/src/libgsmd/libgsmd_phonebook.c
@@ -199,51 +199,3 @@ int lgsm_pb_get_support(struct lgsm_handle *lh)
{
return lgsm_send_simple(lh, GSMD_MSG_PHONEBOOK, GSMD_PHONEBOOK_GET_SUPPORT);
}
-
-int lgsm_pb_retrieve_readrg(struct lgsm_handle *lh, int num)
-{
- struct gsmd_msg_hdr *gmh;
- int rc;
-
- gmh = lgsm_gmh_fill(GSMD_MSG_PHONEBOOK,
- GSMD_PHONEBOOK_RETRIEVE_READRG, sizeof(int));
- if (!gmh)
- return -ENOMEM;
-
- *(int *)(gmh->data) = num;
-
- rc = lgsm_send(lh, gmh);
- if (rc < gmh->len + sizeof(*gmh)) {
- lgsm_gmh_free(gmh);
- return -EIO;
- }
-
- lgsm_gmh_free(gmh);
-
- return 0;
-}
-
-int lgsm_pb_retrieve_find(struct lgsm_handle *lh, int num)
-{
- struct gsmd_msg_hdr *gmh;
- int rc;
-
- gmh = lgsm_gmh_fill(GSMD_MSG_PHONEBOOK,
- GSMD_PHONEBOOK_RETRIEVE_FIND, sizeof(int));
- if (!gmh)
- return -ENOMEM;
-
- *(int *)(gmh->data) = num;
-
- rc = lgsm_send(lh, gmh);
- if (rc < gmh->len + sizeof(*gmh)) {
- lgsm_gmh_free(gmh);
- return -EIO;
- }
-
- lgsm_gmh_free(gmh);
-
- return 0;
-}
-
-
personal git repositories of Harald Welte. Your mileage may vary