Method
ValentContactsensure_store
unstable since: 1.0
Declaration [src]
ValentContactStore*
valent_contacts_ensure_store (
ValentContacts* contacts,
const char* uid,
const char* name
)
Description [src]
Get a ValentContactStore for uid.
If the contact store does not exist, one will be created using the default
adapter and passed name and description. If no adapter is available, a new
file-based store will be created.
Available since: 1.0
Parameters
uid-
Type:
const char*A unique id.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. name-
Type:
const char*A display name.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.
Return value
Type: ValentContactStore
An address book.
| The returned data is owned by the instance. |