buddy: replace description with sipe_buddy_info_fields
commit6452aaca16196578b3abfda3269718f87c565196
authorStefan Becker <chemobejk@gmail.com>
Thu, 15 Dec 2011 14:10:22 +0000 (15 16:10 +0200)
committerStefan Becker <chemobejk@gmail.com>
Thu, 15 Dec 2011 14:10:22 +0000 (15 16:10 +0200)
tree2653b1b72dfcda5a2b8b9696b2f338e7c1369d75
parent1e35d2ae0ecc14c02cacb02b3053162a27ce9004
buddy: replace description with sipe_buddy_info_fields

Miranda backend requires own mapping for sipe_backend_buddy_info_add().
Replace string parameter description with sipe_buddy_info_fields to make
this possible.

Move the string translations from sipe-buddy.c to purple-buddy.c. Also
replaced hash table info_to_property_table with array buddy_info_map,
which makes more sense for numeric indices starting from 0.
src/api/sipe-backend.h
src/core/sipe-buddy.c
src/purple/purple-buddy.c