Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 203959
Collapse All | Expand All

(-)multisync.orig/plugins/gnokii_sync/src/vcard.c (-3 / +3 lines)
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
(-)multisync.orig/plugins/gnokii_sync/src/vcard.h (-4 / +4 lines)
Lines 2-10 Link Here
2
#define VCARD_H
2
#define VCARD_H
3
3
4
#include <gnokii.h>
4
#include <gnokii.h>
5
API int gn_phonebook2vcard2(FILE * , gn_phonebook_entry *, char *);
5
GNOKII_API int gn_phonebook2vcard2(FILE * , gn_phonebook_entry *, char *);
6
API int gn_phonebook2vcard_str(char**, gn_phonebook_entry *, char *);
6
GNOKII_API int gn_phonebook2vcard_str(char**, gn_phonebook_entry *, char *);
7
API int gn_vcard_str2phonebook(char*, gn_phonebook_entry *);
7
GNOKII_API int gn_vcard_str2phonebook(char*, gn_phonebook_entry *);
8
API int gn_vcard2phonebook2(FILE *, gn_phonebook_entry *);
8
GNOKII_API int gn_vcard2phonebook2(FILE *, gn_phonebook_entry *);
9
9
10
#endif
10
#endif

Return to bug 203959