Creates a new EBookCacheSearchData prefilled with the given values.
a contact UID; cannot be %NULL
the contact as a vCard string; cannot be %NULL
any extra data stored with the contact, or %NULL
Any extra data associated with the vcard
The %E_CONTACT_UID field of this contact
The vcard string
Frees the data
structure, previously allocated with e_book_cache_search_data_new()
or e_book_cache_search_data_copy().
an #EBookCacheSearchData
Creates a new EBookCacheSearchData prefilled with the given values.
a contact UID; cannot be %NULL
the contact as a vCard string; cannot be %NULL
any extra data stored with the contact, or %NULL
This structure is used to represent contacts returned by the #EBookCache from various functions such as e_book_cache_search().
The
extra
parameter will contain any data which was previously passed for this contact in e_book_cache_put_contact() or set with e_book_cache_set_contact_extra().These should be freed with e_book_cache_search_data_free().