Function silc_vcard_decode
SYNOPSIS
SilcBool silc_vcard_decode(const unsigned char *data,
SilcUInt32 data_len, SilcVCard vcard);
DESCRIPTION
Decodes VCard from the buffer `vcard' of length of `vcard_len' bytes
and returns the parsed card into `vcard' structure. The caller must
pre-allocate the structure. Returns TRUE if the `vcard' is valid
vcard and was successfully parsed or FALSE on error. The structure
is freed with silc_vcard_free function when it is not needed anymore.
|