The current overall revision string, this can be used as a quick check to see if data has changed at all since the last time the addressbook revision was observed.
Provides comma-separated list of supported fields by the book backend. Attributes other than those listed here can be discarded. This can be used to enable/show only supported elements in GUI.
The e_contact_field_id() can be used to transform the field name into an #EContactField.
Twitter name(s).
Pass this extension name to e_source_get_extension() to access #ESourceBackendSummarySetup. This is also used as a group name in key files.
FIXME: Document me!
FIXME: Document me!
Parses a string representing a mailing address into a structure of type #EAddressWestern.
a string representing a mailing address
Get localized human readable description of the given error code.
an #EBookClientError code
Creates a new #EBookQuery which tests if any field contains value
.
a value
Creates a new #EBookQuery which tests if the field field
exists.
an #EContactField
Creates a new #EBookQuery which tests field
for value
using the test test
.
an #EContactField to test
the test to apply
the value to test for
Parse query_string
and return a new #EBookQuery representing it.
the query
Creates a new #EBookQuery which tests if the field field
exists. field
should be a vCard field name, such as #EVC_FN or #EVC_X_MSN.
a field name
Creates a new #EBookQuery which tests field
for value
using the test test
.
a EVCard field name to test
the test to apply
the value to test for
Encodes the #EConflictResolution into the bit-or of #EBookOperationFlags. The returned value can be bit-or-ed with other #EBookOperationFlags values.
an #EConflictResolution
Parses the email_address
and calls func
for each found address.
The first parameter of the func
is the name, the second parameter
of the func
is the email, the third parameters of the func
is
the user_data
. The func
returns %TRUE, to continue processing.
one or more email addresses as string
a function to call for each email user_data
(closure func): user data passed to func
Decodes the #EConflictResolution from the bit-or of #EBookOperationFlags.
bit-or of #EBookOperationFlags
Copies a list of allocated strings, specifically for the #EContactAttrList boxed type used for multi valued contact fields.
A #GList of strings
Frees a list of allocated strings, specifically for the #EContactAttrList boxed type used for multi valued contact fields.
A #GList of strings
Creates a new #EContactDate based on str
.
a date string in the format YYYY-MM-DD or YYYYMMDD
Creates a new #EContactName based on the parsed name_str
.
a string representing a contact's full name
Parses full_name
and returns an #ENameWestern struct filled with
the component parts of the name.
A string containing a western name.
Compares two phone numbers.
the first EPhoneNumber to compare
the second EPhoneNumber to compare
Compares two phone numbers within the context of region_code
.
the first EPhoneNumber to compare
the second EPhoneNumber to compare
a two-letter country code, or %NULL
Parses the string passed in phone_number
. Note that no validation is
performed whether the recognized phone number is valid for a particular
region.
The two-letter country code passed in region_code
only is used if the
phone_number
is not written in international format. The application's
default region as returned by e_phone_number_get_default_region() is used
if region_code
is %NULL.
If the number is guaranteed to start with a '+' followed by the country
calling code, then "ZZ" can be passed for region_code
.
the phone number to parse
a two-letter country code, or %NULL
Retrieves the preferred country calling code for region_code,
e.g. 358 for "fi" or 1 for "en_USUTF-8
".
If %NULL is passed for region_code
the default region as returned by
e_phone_number_get_default_region() is used.
a two-letter country code, a locale name, or %NULL
Retrieves the current two-letter country code that's used by default for parsing phone numbers in e_phone_number_from_string(). It can be useful to store this number before parsing a bigger number of phone numbers.
The result of this functions depends on the current setup of the %LC_ADDRESS category: If that category provides a reasonable value for %_NL_ADDRESS_COUNTRY_AB2 this value is returned. Otherwise the locale name configured for %LC_ADDRESS is parsed.
Checks if phone number support is available. It is recommended to call this function before using any of the phone-utils functions to ensure that the required functionality is available, and to pick alternative mechanisms if needed.
Provides comma-separated list of required fields by the book backend. All of these attributes should be set, otherwise the backend will reject saving the contact.
The e_contact_field_id() can be used to transform the field name into an #EContactField.