- public AddressWestern? address_western_parse (string? in_address)
Parses a string representing a mailing address into a structure of
type AddressWestern.
- public BookQuery book_query_and (int nqs, BookQuery qs, bool unref)
Create a new BookQuery
which is the logical AND of the queries in qs
s.
- public BookQuery book_query_any_field_contains (string value)
Creates a new BookQuery
which tests if any field contains value
.
- public BookQuery book_query_field_exists (ContactField field)
Creates a new BookQuery
which tests if the field field
exists.
- public BookQuery book_query_field_test (ContactField field, BookQueryTest test, string value)
Creates a new BookQuery
which tests field
for value
using the test test
.
- public BookQuery book_query_from_string (string query_string)
Parse query_string
and return a new
BookQuery representing it.
- public BookQuery book_query_or (int nqs, BookQuery qs, bool unref)
Creates a new BookQuery
which is the logical OR of the queries in qs
s.
- public BookQuery book_query_vcard_field_exists (string field)
Creates a new BookQuery
which tests if the field field
exists.
- public BookQuery book_query_vcard_field_test (string field, BookQueryTest test, string value)
Creates a new BookQuery
which tests field
for value
using the test test
.
- public uint32 book_util_conflict_resolution_to_operation_flags (ConflictResolution conflict_resolution)
- public void book_util_foreach_address (string email_address, HRFunc func)
Parses the email_address
and calls func
for
each found address.
- public ConflictResolution book_util_operation_flags_to_conflict_resolution (uint32 flags)
- public List<string> contact_attr_list_copy (List<string> list)
Copies a list of allocated strings, specifically for the
ContactAttrList boxed type used for multi valued contact fields.
- public void contact_attr_list_free (List<string> list)
Frees a list of allocated strings, specifically for the
ContactAttrList boxed type used for multi valued contact fields.
- public ContactDate contact_date_from_string (string str)
- public ContactName contact_name_from_string (string name_str)
Creates a new ContactName
based on the parsed name_str
.
- public NameWestern name_western_parse (string full_name)
Parses full_name
and returns an
NameWestern struct filled with the component parts of the name.
- public PhoneNumberMatch phone_number_compare_strings (string first_number, string second_number) throws Error
Compares two phone numbers.
- public PhoneNumberMatch phone_number_compare_strings_with_region (string first_number, string second_number, string? region_code) throws Error
Compares two phone numbers within the context of region_code
.
- public PhoneNumber phone_number_from_string (string phone_number, string? region_code) throws Error
Parses the string passed in phone_number
.
- public int phone_number_get_country_code_for_region (string? region_code) throws Error
Retrieves the preferred country calling code for region_code
, e.g. 358 for "fi" or 1 for "en_USUTF
-8".
- public string phone_number_get_default_region () throws Error
Retrieves the current two-letter country code that's used by default
for parsing phone numbers in phone_number_from_string.
- public bool phone_number_is_supported ()
Checks if phone number support is available.