Commit: a4b6035009ec7ecb3b900f0f1188f2788d4df5c9
Parent: 11f7e9efe758f192f266f37beb0b61db5fcba55e
Author: Rafal Michalski <michalski.raf@gmail.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:44
Tree: 3f27860a7dad53b68abeb7d4b3a01623e82b3328

obexd: Refactoring address fields handled in vcard module This patch introduces phonebook_addr struct for more intuitive handling address fields from backend. Now address fields are managed by linked list (wrapped by structure) and it is used for printing vCard address fields, instead of buffers set (combined with g_strsplit and snprintf functions).

Diffstat

M obexd/plugins/phonebook-tracker.c | 72 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - -
M obexd/plugins/vcard.c | 70 ++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M obexd/plugins/vcard.h | 7 ++++++-

3 files changed, 101 insertions(+), 48 deletions(-)

View Full Diff | Patch