Lines 191-197
Link Here
|
191 |
|
191 |
|
192 |
return 0; |
192 |
return 0; |
193 |
} |
193 |
} |
194 |
API int |
194 |
GNOKII_API int |
195 |
gn_phonebook2vcard2(FILE * f, gn_phonebook_entry * entry, char *location) |
195 |
gn_phonebook2vcard2(FILE * f, gn_phonebook_entry * entry, char *location) |
196 |
{ |
196 |
{ |
197 |
char *vcard_str; |
197 |
char *vcard_str; |
Lines 239-245
Link Here
|
239 |
#undef ERROR |
239 |
#undef ERROR |
240 |
#define ERROR(a) fprintf(stderr, "%s\n", a) |
240 |
#define ERROR(a) fprintf(stderr, "%s\n", a) |
241 |
|
241 |
|
242 |
API int gn_vcard_str2phonebook(char * vcard_str, gn_phonebook_entry * entry) |
242 |
GNOKII_API int gn_vcard_str2phonebook(char * vcard_str, gn_phonebook_entry * entry) |
243 |
{ |
243 |
{ |
244 |
|
244 |
|
245 |
char memloc[10]; |
245 |
char memloc[10]; |
Lines 309-315
Link Here
|
309 |
} |
309 |
} |
310 |
|
310 |
|
311 |
/* We assume gn_phonebook_entry is ready for writing in, ie. no rubbish inside */ |
311 |
/* We assume gn_phonebook_entry is ready for writing in, ie. no rubbish inside */ |
312 |
API int gn_vcard2phonebook2(FILE * f, gn_phonebook_entry * entry) |
312 |
GNOKII_API int gn_vcard2phonebook2(FILE * f, gn_phonebook_entry * entry) |
313 |
{ |
313 |
{ |
314 |
char buffer[1024]; |
314 |
char buffer[1024]; |
315 |
|
315 |
|