From 5e988040575d346c4ca41061248e72d676467ed0 Mon Sep 17 00:00:00 2001 From: jserv Date: Wed, 17 Oct 2007 06:18:34 +0000 Subject: Improvement for find and read phonebooks in gsmd. From: Sean Chiang Subject: [PATCH] Improvement for find and read phonebooks in gsmd This patch is an improvement for find and read phonebooks. After clients make a request to find / read phonebooks, then clients should make a request to retrieve all the records. git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3202 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/libgsmd/phonebook.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/libgsmd') diff --git a/include/libgsmd/phonebook.h b/include/libgsmd/phonebook.h index badb76f..6e2d2b1 100644 --- a/include/libgsmd/phonebook.h +++ b/include/libgsmd/phonebook.h @@ -106,4 +106,10 @@ extern int lgsm_pb_write_entry(struct lgsm_handle *lh, /* Get the location range/nlength/tlength supported */ extern int lgsm_pb_get_support(struct lgsm_handle *lh); +/* Retrieve the records of READRG request */ +extern int lgsm_pb_retrieve_readrg(struct lgsm_handle *lh, int num); + +/* Retrieve the records of FIND request */ +extern int lgsm_pb_retrieve_find(struct lgsm_handle *lh, int num); + #endif -- cgit v1.2.3