Commit: 6417a2c2871e9e384c5b59da8f1d5c43bbec9386
Parent: ca5d2090f6361ee9d618eb7c4d3123ed2b812042
Author: Rafal Michalski <michalski.raf@gmail.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:25
Tree: 26db725c6c186ce9b63ee050cebfae40f10f6530

obexd: Add handling of single contact's fields handled in VCARD structure After pulling contacts these fields weren't present in downloaded VCARD structure in spite of that these fields existed (not empty). This patch adds handling of fields: BDAY, NICKNAME, URL, PHOTO To solve this problem extending number of columns and queries of database was needed especially. Displaying these fields is done by genaral functions: vcard_printf_tag, vcard_printf_slash_tag. Of course fields mentioned above were added to phonebook_contact structure as char * type to save gained data.

Diffstat

M obexd/plugins/phonebook-tracker.c | 29 +++++++++++++++++++++++- - - - - -
M obexd/plugins/vcard.c | 68 ++++++++++++++++++++++++++++++++++++++++
M obexd/plugins/vcard.h | 4 ++++

3 files changed, 95 insertions(+), 6 deletions(-)

View Full Diff | Patch