Function
EDataBookBookCacheSearchDatanew
since: 3.26
Declaration [src]
EBookCacheSearchData*
e_book_cache_search_data_new (
const gchar* uid,
const gchar* vcard,
const gchar* extra
)
Description [src]
Creates a new EBookCacheSearchData prefilled with the given values.
Available since: 3.26
Parameters
uid-
Type:
const gchar*A contact UID; cannot be
NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. vcard-
Type:
const gchar*The contact as a vCard string; cannot be
NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. extra-
Type:
const gchar*Any extra data stored with the contact, or
NULL.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: EBookCacheSearchData
A new EBookCacheSearchData. Free it with
e_book_cache_search_data_free() when no longer needed.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |