EContact

EContact

Functions

EContact * e_contact_new ()
EContact * e_contact_new_from_vcard ()
EContact * e_contact_new_from_vcard_with_uid ()
EContact * e_contact_duplicate ()
gpointer e_contact_get ()
gconstpointer e_contact_get_const ()
void e_contact_set ()
GList * e_contact_get_attributes ()
void e_contact_set_attributes ()
EContactDate * e_contact_date_new ()
EContactDate * e_contact_date_from_string ()
gchar * e_contact_date_to_string ()
gboolean e_contact_date_equal ()
void e_contact_date_free ()
EContactName * e_contact_name_new ()
gchar * e_contact_name_to_string ()
EContactName * e_contact_name_from_string ()
EContactName * e_contact_name_copy ()
void e_contact_name_free ()
EContactPhoto * e_contact_photo_new ()
void e_contact_photo_free ()
EContactPhoto * e_contact_photo_copy ()
const guchar * e_contact_photo_get_inlined ()
void e_contact_photo_set_inlined ()
const gchar * e_contact_photo_get_mime_type ()
void e_contact_photo_set_mime_type ()
const gchar * e_contact_photo_get_uri ()
void e_contact_photo_set_uri ()
gboolean e_contact_inline_local_photos ()
EContactGeo * e_contact_geo_new ()
void e_contact_geo_free ()
EContactCert * e_contact_cert_new ()
void e_contact_cert_free ()
EContactAddress * e_contact_address_new ()
void e_contact_address_free ()
GList * e_contact_attr_list_copy ()
void e_contact_attr_list_free ()
GType e_contact_field_type ()
const gchar * e_contact_field_name ()
const gchar * e_contact_pretty_name ()
const gchar * e_contact_vcard_attribute ()
EContactField e_contact_field_id ()
EContactField e_contact_field_id_from_vcard ()

Properties

gchar * Rev Read / Write
EContactAttrList * address Read / Write
EContactAddress * address-home Read / Write
gchar * address-label-home Read / Write
gchar * address-label-other Read / Write
gchar * address-label-work Read / Write
EContactAddress * address-other Read / Write
EContactAddress * address-work Read / Write
EContactDate * anniversary Read / Write
gchar * assistant Read / Write
gchar * assistant-phone Read / Write
EContactDate * birth-date Read / Write
gchar * blog-url Read / Write
gchar * book-uid Read / Write
gchar * business-fax Read / Write
gchar * business-phone Read / Write
gchar * business-phone-2 Read / Write
gchar * callback-phone Read / Write
gchar * caluri Read / Write
gchar * car-phone Read / Write
gchar * categories Read / Write
gpointer category-list Read / Write
gchar * company-phone Read / Write
EContactAttrList * email Read / Write
gchar * email-1 Read / Write
gchar * email-2 Read / Write
gchar * email-3 Read / Write
gchar * email-4 Read / Write
gchar * family-name Read / Write
gchar * fburl Read / Write
gchar * file-as Read / Write
gchar * full-name Read / Write
EContactGeo * geo Read / Write
gchar * given-name Read / Write
gchar * home-fax Read / Write
gchar * home-phone Read / Write
gchar * home-phone-2 Read / Write
gchar * homepage-url Read / Write
gchar * icscalendar Read / Write
gchar * id Read / Write
EContactAttrList * im-aim Read / Write
gchar * im-aim-home-1 Read / Write
gchar * im-aim-home-2 Read / Write
gchar * im-aim-home-3 Read / Write
gchar * im-aim-work-1 Read / Write
gchar * im-aim-work-2 Read / Write
gchar * im-aim-work-3 Read / Write
EContactAttrList * im-gadugadu Read / Write
gchar * im-gadugadu-home-1 Read / Write
gchar * im-gadugadu-home-2 Read / Write
gchar * im-gadugadu-home-3 Read / Write
gchar * im-gadugadu-work-1 Read / Write
gchar * im-gadugadu-work-2 Read / Write
gchar * im-gadugadu-work-3 Read / Write
EContactAttrList * im-google-talk Read / Write
gchar * im-google-talk-home-1 Read / Write
gchar * im-google-talk-home-2 Read / Write
gchar * im-google-talk-home-3 Read / Write
gchar * im-google-talk-work-1 Read / Write
gchar * im-google-talk-work-2 Read / Write
gchar * im-google-talk-work-3 Read / Write
EContactAttrList * im-groupwise Read / Write
gchar * im-groupwise-home-1 Read / Write
gchar * im-groupwise-home-2 Read / Write
gchar * im-groupwise-home-3 Read / Write
gchar * im-groupwise-work-1 Read / Write
gchar * im-groupwise-work-2 Read / Write
gchar * im-groupwise-work-3 Read / Write
EContactAttrList * im-icq Read / Write
gchar * im-icq-home-1 Read / Write
gchar * im-icq-home-2 Read / Write
gchar * im-icq-home-3 Read / Write
gchar * im-icq-work-1 Read / Write
gchar * im-icq-work-2 Read / Write
gchar * im-icq-work-3 Read / Write
EContactAttrList * im-jabber Read / Write
gchar * im-jabber-home-1 Read / Write
gchar * im-jabber-home-2 Read / Write
gchar * im-jabber-home-3 Read / Write
gchar * im-jabber-work-1 Read / Write
gchar * im-jabber-work-2 Read / Write
gchar * im-jabber-work-3 Read / Write
EContactAttrList * im-msn Read / Write
gchar * im-msn-home-1 Read / Write
gchar * im-msn-home-2 Read / Write
gchar * im-msn-home-3 Read / Write
gchar * im-msn-work-1 Read / Write
gchar * im-msn-work-2 Read / Write
gchar * im-msn-work-3 Read / Write
EContactAttrList * im-skype Read / Write
gchar * im-skype-home-1 Read / Write
gchar * im-skype-home-2 Read / Write
gchar * im-skype-home-3 Read / Write
gchar * im-skype-work-1 Read / Write
gchar * im-skype-work-2 Read / Write
gchar * im-skype-work-3 Read / Write
EContactAttrList * im-twitter Read / Write
EContactAttrList * im-yahoo Read / Write
gchar * im-yahoo-home-1 Read / Write
gchar * im-yahoo-home-2 Read / Write
gchar * im-yahoo-home-3 Read / Write
gchar * im-yahoo-work-1 Read / Write
gchar * im-yahoo-work-2 Read / Write
gchar * im-yahoo-work-3 Read / Write
gchar * isdn-phone Read / Write
gboolean list Read / Write
gboolean list-show-addresses Read / Write
EContactPhoto * logo Read / Write
gchar * mailer Read / Write
gchar * manager Read / Write
gchar * mobile-phone Read / Write
EContactName * name Read / Write
gchar * name-or-org Read
gchar * nickname Read / Write
gchar * note Read / Write
gchar * office Read / Write
gchar * org Read / Write
gchar * org-unit Read / Write
gchar * other-fax Read / Write
gchar * other-phone Read / Write
gchar * pager Read / Write
EContactAttrList * phone Read / Write
EContactPhoto * photo Read / Write
gchar * primary-phone Read / Write
gchar * radio Read / Write
gchar * role Read / Write
EContactAttrList * sip Read / Write
gchar * spouse Read / Write
gchar * telex Read / Write
gchar * title Read / Write
gchar * tty Read / Write
gchar * video-url Read / Write
gboolean wants-html Read / Write
EContactCert * x509Cert Read / Write

Types and Values

Object Hierarchy

    GBoxed
    ├── EContactAddress
    ├── EContactCert
    ├── EContactDate
    ├── EContactGeo
    ├── EContactName
    ╰── EContactPhoto
    GObject
    ╰── EVCard
        ╰── EContact

Description

Functions

e_contact_new ()

EContact *
e_contact_new (void);

Creates a new, blank EContact.

Returns

A new EContact.


e_contact_new_from_vcard ()

EContact *
e_contact_new_from_vcard (const gchar *vcard);

Creates a new EContact based on a vcard.

Parameters

vcard

a string representing a vcard

 

Returns

A new EContact.


e_contact_new_from_vcard_with_uid ()

EContact *
e_contact_new_from_vcard_with_uid (const gchar *vcard,
                                   const gchar *uid);

Creates a new EContact based on a vcard and a predefined UID.

Parameters

vcard

a string representing a vcard

 

uid

a contact UID

 

Returns

A new EContact.

Since 3.4


e_contact_duplicate ()

EContact *
e_contact_duplicate (EContact *contact);

Creates a copy of contact .

Parameters

contact

an EContact

 

Returns

A new EContact identical to contact .

[transfer full]


e_contact_get ()

gpointer
e_contact_get (EContact *contact,
               EContactField field_id);

Gets the value of contact 's field specified by field_id .

Parameters

contact

an EContact

 

field_id

an EContactField

 

Returns

Depends on the field's type, owned by the caller. This may be NULL if the field isn't set.

[transfer full][allow-none]


e_contact_get_const ()

gconstpointer
e_contact_get_const (EContact *contact,
                     EContactField field_id);

Gets the value of contact 's field specified by field_id , caching the result so it can be freed later.

Parameters

contact

an EContact

 

field_id

an EContactField

 

Returns

Depends on the field's type, owned by the EContact.

[transfer none]


e_contact_set ()

void
e_contact_set (EContact *contact,
               EContactField field_id,
               gconstpointer value);

Sets the value of contact 's field specified by field_id to value .

Parameters

contact

an EContact

 

field_id

an EContactField

 

value

a value whose type depends on the field_id

 

e_contact_get_attributes ()

GList *
e_contact_get_attributes (EContact *contact,
                          EContactField field_id);

Gets a list of the vcard attributes for contact 's field_id .

Parameters

contact

an EContact

 

field_id

an EContactField

 

Returns

A GList of pointers to EVCardAttribute, owned by the caller.

[transfer full][element-type EVCardAttribute]


e_contact_set_attributes ()

void
e_contact_set_attributes (EContact *contact,
                          EContactField field_id,
                          GList *attributes);

Sets the vcard attributes for contact 's field_id . Attributes are added to the contact in the same order as they are in attributes .

Parameters

contact

an EContact

 

field_id

an EContactField

 

attributes

a GList of pointers to EVCardAttribute.

[element-type EVCardAttribute]

e_contact_date_new ()

EContactDate *
e_contact_date_new (void);

Creates a new EContactDate struct.

Returns

A new EContactDate struct.


e_contact_date_from_string ()

EContactDate *
e_contact_date_from_string (const gchar *str);

Creates a new EContactDate based on str .

Parameters

str

a date string in the format YYYY-MM-DD or YYYYMMDD

 

Returns

A new EContactDate struct.


e_contact_date_to_string ()

gchar *
e_contact_date_to_string (EContactDate *dt);

Generates a date string in the format YYYY-MM-DD based on the values of dt .

Parameters

dt

an EContactDate

 

Returns

A date string, owned by the caller.


e_contact_date_equal ()

gboolean
e_contact_date_equal (EContactDate *dt1,
                      EContactDate *dt2);

Checks if dt1 and dt2 are the same date.

Parameters

dt1

an EContactDate

 

dt2

an EContactDate

 

Returns

TRUE if dt1 and dt2 are equal, FALSE otherwise.


e_contact_date_free ()

void
e_contact_date_free (EContactDate *date);

Frees the date struct and its contents.

Parameters

date

an EContactDate

 

e_contact_name_new ()

EContactName *
e_contact_name_new (void);

Creates a new EContactName struct.

Returns

A new EContactName struct.


e_contact_name_to_string ()

gchar *
e_contact_name_to_string (const EContactName *name);

Generates a string representation of name .

Parameters

name

an EContactName

 

Returns

The string representation of name .


e_contact_name_from_string ()

EContactName *
e_contact_name_from_string (const gchar *name_str);

Creates a new EContactName based on the parsed name_str .

Parameters

name_str

a string representing a contact's full name

 

Returns

A new EContactName struct.


e_contact_name_copy ()

EContactName *
e_contact_name_copy (EContactName *n);

Creates a copy of n .

Parameters

n

an EContactName

 

Returns

A new EContactName identical to n .


e_contact_name_free ()

void
e_contact_name_free (EContactName *name);

Frees name and its contents.

Parameters

name

an EContactName

 

e_contact_photo_new ()

EContactPhoto *
e_contact_photo_new (void);

Creates a new EContactPhoto struct.

Returns

A new EContactPhoto struct.

[transfer full]

Since 3.2


e_contact_photo_free ()

void
e_contact_photo_free (EContactPhoto *photo);

Frees the photo struct and its contents.

Parameters

photo

an EContactPhoto struct

 

e_contact_photo_copy ()

EContactPhoto *
e_contact_photo_copy (EContactPhoto *photo);

Creates a copy of photo .

Parameters

photo

an EContactPhoto

 

Returns

A new EContactPhoto struct identical to photo .

Since 3.8


e_contact_photo_get_inlined ()

const guchar *
e_contact_photo_get_inlined (EContactPhoto *photo,
                             gsize *len);

Gets the photo 's data.

Parameters

photo

an EContactPhoto

 

len

the length of the inlined data.

[out caller-allocates][transfer none]

Returns

the inlined image in the EContactPhoto, or NULL if it has not been set.

[transfer none][array length=len][allow-none]

Since 3.2


e_contact_photo_set_inlined ()

void
e_contact_photo_set_inlined (EContactPhoto *photo,
                             const guchar *data,
                             gsize len);

Sets the photo 's inlined data.

Parameters

photo

an EContactPhoto

 

data

the inlined image data.

[transfer none][array length=len]

len

the length of data

 

Since 3.2


e_contact_photo_get_mime_type ()

const gchar *
e_contact_photo_get_mime_type (EContactPhoto *photo);

Gets the photo 's mime type.

Parameters

photo

an EContactPhoto

 

Returns

the MIME type of the image, or NULL if it has not been set.

[transfer none][allow-none]

Since 3.2


e_contact_photo_set_mime_type ()

void
e_contact_photo_set_mime_type (EContactPhoto *photo,
                               const gchar *mime_type);

Sets the photo 's mime type.

Parameters

photo

an EContactPhoto

 

mime_type

the mime type

 

Since 3.2


e_contact_photo_get_uri ()

const gchar *
e_contact_photo_get_uri (EContactPhoto *photo);

Gets the photo 's URI.

Parameters

photo

an EContactPhoto

 

Returns

the URI of the image, or NULL if it has not been set.

[transfer none][allow-none]

Since 3.2


e_contact_photo_set_uri ()

void
e_contact_photo_set_uri (EContactPhoto *photo,
                         const gchar *uri);

Sets the photo 's URI.

Parameters

photo

an EContactPhoto

 

uri

the photo 's URI

 

Since 3.2


e_contact_inline_local_photos ()

gboolean
e_contact_inline_local_photos (EContact *contact,
                               GError **error);

Tries to modify any EContactPhoto fields which are stored on the local file system as type E_CONTACT_PHOTO_TYPE_URI to be inlined and stored as E_CONTACT_PHOTO_TYPE_INLINED instead.

Parameters

contact

an EContact

 

error

the location to store any GError which might occur

 

Returns

TRUE if there were no errors, upon error FALSE is returned and error is set.

Since 3.4


e_contact_geo_new ()

EContactGeo *
e_contact_geo_new (void);

Creates an EContactGeo struct with all coordinates set to 0.

Returns

A new EContactGeo struct.

[transfer full]

Since 3.8


e_contact_geo_free ()

void
e_contact_geo_free (EContactGeo *geo);

Frees the geo struct and its contents.

Parameters

geo

an EContactGeo

 

Since 1.12


e_contact_cert_new ()

EContactCert *
e_contact_cert_new (void);

Creates an EContactCert struct with all values set to 0.

Returns

A new EContactCert struct.

[transfer full]

Since 3.8


e_contact_cert_free ()

void
e_contact_cert_free (EContactCert *cert);

Frees the cert struct and its contents.

Parameters

cert

an EContactCert

 

e_contact_address_new ()

EContactAddress *
e_contact_address_new (void);

Creates a new EContactAddress struct.

Returns

A new EContactAddress struct.

[transfer full]

Since 3.2


e_contact_address_free ()

void
e_contact_address_free (EContactAddress *address);

Frees the address struct and its contents.

Parameters

address

an EContactAddress

 

e_contact_attr_list_copy ()

GList *
e_contact_attr_list_copy (GList *list);

Copies a list of allocated strings, specifically for the EContactAttrList boxed type used for multi valued contact fields.

Parameters

list

A GList of strings

 

Returns

A copy of list .

[transfer full]

Since 3.8


e_contact_attr_list_free ()

void
e_contact_attr_list_free (GList *list);

Frees a list of allocated strings, specifically for the EContactAttrList boxed type used for multi valued contact fields.

Parameters

list

A GList of strings

 

Since 3.8


e_contact_field_type ()

GType
e_contact_field_type (EContactField field_id);

Gets the GType used for this contact field, this indicates what kind of value can be passed to e_contact_set().

Parameters

field_id

an EContactField

 

Returns

The GType used for field_id , or G_TYPE_INVALID if it doesn't exist.

Since 3.8


e_contact_field_name ()

const gchar *
e_contact_field_name (EContactField field_id);

Gets the string representation of field_id .

Parameters

field_id

an EContactField

 

Returns

The string representation of field_id , or NULL if it doesn't exist.


e_contact_pretty_name ()

const gchar *
e_contact_pretty_name (EContactField field_id);

Gets a human-readable, translated string representation of field_id .

Parameters

field_id

an EContactField

 

Returns

The human-readable representation of field_id , or NULL if it doesn't exist.


e_contact_vcard_attribute ()

const gchar *
e_contact_vcard_attribute (EContactField field_id);

Gets the vcard attribute corresponding to field_id , as a string.

Parameters

field_id

an EContactField

 

Returns

The vcard attribute corresponding to field_id , or NULL if it doesn't exist.


e_contact_field_id ()

EContactField
e_contact_field_id (const gchar *field_name);

Gets the EContactField corresponding to the field_name .

Parameters

field_name

a string representing a contact field

 

Returns

An EContactField corresponding to field_name , or 0 if it doesn't exist.


e_contact_field_id_from_vcard ()

EContactField
e_contact_field_id_from_vcard (const gchar *vcard_field);

Gets the EContactField corresponding to the vcard_field .

Parameters

vcard_field

a string representing a vCard field

 

Returns

An EContactField corresponding to vcard_field , or 0 if it doesn't exist.

Since 2.26

Types and Values

enum EContactField

Members

E_CONTACT_UID

   

E_CONTACT_FILE_AS

   

E_CONTACT_BOOK_UID

   

E_CONTACT_FULL_NAME

   

E_CONTACT_GIVEN_NAME

   

E_CONTACT_FAMILY_NAME

   

E_CONTACT_NICKNAME

   

E_CONTACT_EMAIL_1

   

E_CONTACT_EMAIL_2

   

E_CONTACT_EMAIL_3

   

E_CONTACT_EMAIL_4

   

E_CONTACT_MAILER

   

E_CONTACT_ADDRESS_LABEL_HOME

   

E_CONTACT_ADDRESS_LABEL_WORK

   

E_CONTACT_ADDRESS_LABEL_OTHER

   

E_CONTACT_PHONE_ASSISTANT

   

E_CONTACT_PHONE_BUSINESS

   

E_CONTACT_PHONE_BUSINESS_2

   

E_CONTACT_PHONE_BUSINESS_FAX

   

E_CONTACT_PHONE_CALLBACK

   

E_CONTACT_PHONE_CAR

   

E_CONTACT_PHONE_COMPANY

   

E_CONTACT_PHONE_HOME

   

E_CONTACT_PHONE_HOME_2

   

E_CONTACT_PHONE_HOME_FAX

   

E_CONTACT_PHONE_ISDN

   

E_CONTACT_PHONE_MOBILE

   

E_CONTACT_PHONE_OTHER

   

E_CONTACT_PHONE_OTHER_FAX

   

E_CONTACT_PHONE_PAGER

   

E_CONTACT_PHONE_PRIMARY

   

E_CONTACT_PHONE_RADIO

   

E_CONTACT_PHONE_TELEX

   

E_CONTACT_PHONE_TTYTDD

   

E_CONTACT_ORG

   

E_CONTACT_ORG_UNIT

   

E_CONTACT_OFFICE

   

E_CONTACT_TITLE

   

E_CONTACT_ROLE

   

E_CONTACT_MANAGER

   

E_CONTACT_ASSISTANT

   

E_CONTACT_HOMEPAGE_URL

   

E_CONTACT_BLOG_URL

   

E_CONTACT_CATEGORIES

   

E_CONTACT_CALENDAR_URI

   

E_CONTACT_FREEBUSY_URL

   

E_CONTACT_ICS_CALENDAR

   

E_CONTACT_VIDEO_URL

   

E_CONTACT_SPOUSE

   

E_CONTACT_NOTE

   

E_CONTACT_IM_AIM_HOME_1

   

E_CONTACT_IM_AIM_HOME_2

   

E_CONTACT_IM_AIM_HOME_3

   

E_CONTACT_IM_AIM_WORK_1

   

E_CONTACT_IM_AIM_WORK_2

   

E_CONTACT_IM_AIM_WORK_3

   

E_CONTACT_IM_GROUPWISE_HOME_1

   

E_CONTACT_IM_GROUPWISE_HOME_2

   

E_CONTACT_IM_GROUPWISE_HOME_3

   

E_CONTACT_IM_GROUPWISE_WORK_1

   

E_CONTACT_IM_GROUPWISE_WORK_2

   

E_CONTACT_IM_GROUPWISE_WORK_3

   

E_CONTACT_IM_JABBER_HOME_1

   

E_CONTACT_IM_JABBER_HOME_2

   

E_CONTACT_IM_JABBER_HOME_3

   

E_CONTACT_IM_JABBER_WORK_1

   

E_CONTACT_IM_JABBER_WORK_2

   

E_CONTACT_IM_JABBER_WORK_3

   

E_CONTACT_IM_YAHOO_HOME_1

   

E_CONTACT_IM_YAHOO_HOME_2

   

E_CONTACT_IM_YAHOO_HOME_3

   

E_CONTACT_IM_YAHOO_WORK_1

   

E_CONTACT_IM_YAHOO_WORK_2

   

E_CONTACT_IM_YAHOO_WORK_3

   

E_CONTACT_IM_MSN_HOME_1

   

E_CONTACT_IM_MSN_HOME_2

   

E_CONTACT_IM_MSN_HOME_3

   

E_CONTACT_IM_MSN_WORK_1

   

E_CONTACT_IM_MSN_WORK_2

   

E_CONTACT_IM_MSN_WORK_3

   

E_CONTACT_IM_ICQ_HOME_1

   

E_CONTACT_IM_ICQ_HOME_2

   

E_CONTACT_IM_ICQ_HOME_3

   

E_CONTACT_IM_ICQ_WORK_1

   

E_CONTACT_IM_ICQ_WORK_2

   

E_CONTACT_IM_ICQ_WORK_3

   

E_CONTACT_REV

   

E_CONTACT_NAME_OR_ORG

   

E_CONTACT_ADDRESS

   

E_CONTACT_ADDRESS_HOME

   

E_CONTACT_ADDRESS_WORK

   

E_CONTACT_ADDRESS_OTHER

   

E_CONTACT_CATEGORY_LIST

   

E_CONTACT_PHOTO

   

E_CONTACT_LOGO

   

E_CONTACT_NAME

   

E_CONTACT_EMAIL

   

E_CONTACT_IM_AIM

   

E_CONTACT_IM_GROUPWISE

   

E_CONTACT_IM_JABBER

   

E_CONTACT_IM_YAHOO

   

E_CONTACT_IM_MSN

   

E_CONTACT_IM_ICQ

   

E_CONTACT_WANTS_HTML

   

E_CONTACT_IS_LIST

   

E_CONTACT_LIST_SHOW_ADDRESSES

   

E_CONTACT_BIRTH_DATE

   

E_CONTACT_ANNIVERSARY

   

E_CONTACT_X509_CERT

   

E_CONTACT_IM_GADUGADU_HOME_1

   

E_CONTACT_IM_GADUGADU_HOME_2

   

E_CONTACT_IM_GADUGADU_HOME_3

   

E_CONTACT_IM_GADUGADU_WORK_1

   

E_CONTACT_IM_GADUGADU_WORK_2

   

E_CONTACT_IM_GADUGADU_WORK_3

   

E_CONTACT_IM_GADUGADU

   

E_CONTACT_GEO

   

E_CONTACT_TEL

   

E_CONTACT_IM_SKYPE_HOME_1

   

E_CONTACT_IM_SKYPE_HOME_2

   

E_CONTACT_IM_SKYPE_HOME_3

   

E_CONTACT_IM_SKYPE_WORK_1

   

E_CONTACT_IM_SKYPE_WORK_2

   

E_CONTACT_IM_SKYPE_WORK_3

   

E_CONTACT_IM_SKYPE

   

E_CONTACT_SIP

   

E_CONTACT_IM_GOOGLE_TALK_HOME_1

   

E_CONTACT_IM_GOOGLE_TALK_HOME_2

   

E_CONTACT_IM_GOOGLE_TALK_HOME_3

   

E_CONTACT_IM_GOOGLE_TALK_WORK_1

   

E_CONTACT_IM_GOOGLE_TALK_WORK_2

   

E_CONTACT_IM_GOOGLE_TALK_WORK_3

   

E_CONTACT_IM_GOOGLE_TALK

   

E_CONTACT_IM_TWITTER

   

E_CONTACT_FIELD_LAST

   

E_CONTACT_FIELD_FIRST

   

E_CONTACT_LAST_SIMPLE_STRING

   

E_CONTACT_FIRST_PHONE_ID

   

E_CONTACT_LAST_PHONE_ID

   

E_CONTACT_FIRST_EMAIL_ID

   

E_CONTACT_LAST_EMAIL_ID

   

E_CONTACT_FIRST_ADDRESS_ID

   

E_CONTACT_LAST_ADDRESS_ID

   

E_CONTACT_FIRST_LABEL_ID

   

E_CONTACT_LAST_LABEL_ID

   

EContactName

typedef struct {
	gchar *family;
	gchar *given;
	gchar *additional;
	gchar *prefixes;
	gchar *suffixes;
} EContactName;

EContactGeo

typedef struct {
	gdouble latitude;
	gdouble longitude;
} EContactGeo;

Members

gdouble latitude;

latitude

 

gdouble longitude;

longitude

 

Since 1.12


enum EContactPhotoType

Members

E_CONTACT_PHOTO_TYPE_INLINED

   

E_CONTACT_PHOTO_TYPE_URI

   

EContactPhoto

typedef struct {
	EContactPhotoType type;
	union {
		struct {
			gchar *mime_type;
			gsize length;
			guchar *data;
		} inlined;
		gchar *uri;
	} data;
} EContactPhoto;

EContactAddress

typedef struct {
	gchar *address_format; /* the two letter country code that
				* determines the format/meaning of the
				* following fields */
	gchar *po;
	gchar *ext;
	gchar *street;
	gchar *locality;
	gchar *region;
	gchar *code;
	gchar *country;
} EContactAddress;

EContactDate

typedef struct {
	guint year;
	guint month;
	guint day;
} EContactDate;

EContactCert

typedef struct {
	gsize length;
	gchar *data;
} EContactCert;

struct EContact

struct EContact;

Property Details

The “Rev” property

  “Rev”                      gchar *

Last Revision.

Flags: Read / Write

Default value: NULL


The “address” property

  “address”                  EContactAttrList *

Address List.

Flags: Read / Write


The “address-home” property

  “address-home”             EContactAddress *

Home Address.

Flags: Read / Write


The “address-label-home” property

  “address-label-home”       gchar *

Home Address Label.

Flags: Read / Write

Default value: NULL


The “address-label-other” property

  “address-label-other”      gchar *

Other Address Label.

Flags: Read / Write

Default value: NULL


The “address-label-work” property

  “address-label-work”       gchar *

Work Address Label.

Flags: Read / Write

Default value: NULL


The “address-other” property

  “address-other”            EContactAddress *

Other Address.

Flags: Read / Write


The “address-work” property

  “address-work”             EContactAddress *

Work Address.

Flags: Read / Write


The “anniversary” property

  “anniversary”              EContactDate *

Anniversary.

Flags: Read / Write


The “assistant” property

  “assistant”                gchar *

Assistant.

Flags: Read / Write

Default value: NULL


The “assistant-phone” property

  “assistant-phone”          gchar *

Assistant Phone.

Flags: Read / Write

Default value: NULL


The “birth-date” property

  “birth-date”               EContactDate *

Birth Date.

Flags: Read / Write


The “blog-url” property

  “blog-url”                 gchar *

Weblog URL.

Flags: Read / Write

Default value: NULL


The “book-uid” property

  “book-uid”                 gchar *

Book UID.

Flags: Read / Write

Default value: NULL


The “business-fax” property

  “business-fax”             gchar *

Business Fax.

Flags: Read / Write

Default value: NULL


The “business-phone” property

  “business-phone”           gchar *

Business Phone.

Flags: Read / Write

Default value: NULL


The “business-phone-2” property

  “business-phone-2”         gchar *

Business Phone 2.

Flags: Read / Write

Default value: NULL


The “callback-phone” property

  “callback-phone”           gchar *

Callback Phone.

Flags: Read / Write

Default value: NULL


The “caluri” property

  “caluri”                   gchar *

Calendar URI.

Flags: Read / Write

Default value: NULL


The “car-phone” property

  “car-phone”                gchar *

Car Phone.

Flags: Read / Write

Default value: NULL


The “categories” property

  “categories”               gchar *

Categories.

Flags: Read / Write

Default value: NULL


The “category-list” property

  “category-list”            gpointer

Category List.

Flags: Read / Write


The “company-phone” property

  “company-phone”            gchar *

Company Phone.

Flags: Read / Write

Default value: NULL


The “email” property

  “email”                    EContactAttrList *

Email List.

Flags: Read / Write


The “email-1” property

  “email-1”                  gchar *

Email 1.

Flags: Read / Write

Default value: NULL


The “email-2” property

  “email-2”                  gchar *

Email 2.

Flags: Read / Write

Default value: NULL


The “email-3” property

  “email-3”                  gchar *

Email 3.

Flags: Read / Write

Default value: NULL


The “email-4” property

  “email-4”                  gchar *

Email 4.

Flags: Read / Write

Default value: NULL


The “family-name” property

  “family-name”              gchar *

Family Name.

Flags: Read / Write

Default value: NULL


The “fburl” property

  “fburl”                    gchar *

Free/Busy URL.

Flags: Read / Write

Default value: NULL


The “file-as” property

  “file-as”                  gchar *

File Under.

Flags: Read / Write

Default value: NULL


The “full-name” property

  “full-name”                gchar *

Full Name.

Flags: Read / Write

Default value: NULL


The “geo” property

  “geo”                      EContactGeo *

Geographic Information.

Flags: Read / Write


The “given-name” property

  “given-name”               gchar *

Given Name.

Flags: Read / Write

Default value: NULL


The “home-fax” property

  “home-fax”                 gchar *

Home Fax.

Flags: Read / Write

Default value: NULL


The “home-phone” property

  “home-phone”               gchar *

Home Phone.

Flags: Read / Write

Default value: NULL


The “home-phone-2” property

  “home-phone-2”             gchar *

Home Phone 2.

Flags: Read / Write

Default value: NULL


The “homepage-url” property

  “homepage-url”             gchar *

Homepage URL.

Flags: Read / Write

Default value: NULL


The “icscalendar” property

  “icscalendar”              gchar *

ICS Calendar.

Flags: Read / Write

Default value: NULL


The “id” property

  “id”                       gchar *

Unique ID.

Flags: Read / Write

Default value: NULL


The “im-aim” property

  “im-aim”                   EContactAttrList *

AIM Screen Name List.

Flags: Read / Write


The “im-aim-home-1” property

  “im-aim-home-1”            gchar *

AIM Home Screen Name 1.

Flags: Read / Write

Default value: NULL


The “im-aim-home-2” property

  “im-aim-home-2”            gchar *

AIM Home Screen Name 2.

Flags: Read / Write

Default value: NULL


The “im-aim-home-3” property

  “im-aim-home-3”            gchar *

AIM Home Screen Name 3.

Flags: Read / Write

Default value: NULL


The “im-aim-work-1” property

  “im-aim-work-1”            gchar *

AIM Work Screen Name 1.

Flags: Read / Write

Default value: NULL


The “im-aim-work-2” property

  “im-aim-work-2”            gchar *

AIM Work Screen Name 2.

Flags: Read / Write

Default value: NULL


The “im-aim-work-3” property

  “im-aim-work-3”            gchar *

AIM Work Screen Name 3.

Flags: Read / Write

Default value: NULL


The “im-gadugadu” property

  “im-gadugadu”              EContactAttrList *

Gadu-Gadu ID List.

Flags: Read / Write


The “im-gadugadu-home-1” property

  “im-gadugadu-home-1”       gchar *

Gadu-Gadu Home ID 1.

Flags: Read / Write

Default value: NULL


The “im-gadugadu-home-2” property

  “im-gadugadu-home-2”       gchar *

Gadu-Gadu Home ID 2.

Flags: Read / Write

Default value: NULL


The “im-gadugadu-home-3” property

  “im-gadugadu-home-3”       gchar *

Gadu-Gadu Home ID 3.

Flags: Read / Write

Default value: NULL


The “im-gadugadu-work-1” property

  “im-gadugadu-work-1”       gchar *

Gadu-Gadu Work ID 1.

Flags: Read / Write

Default value: NULL


The “im-gadugadu-work-2” property

  “im-gadugadu-work-2”       gchar *

Gadu-Gadu Work ID 2.

Flags: Read / Write

Default value: NULL


The “im-gadugadu-work-3” property

  “im-gadugadu-work-3”       gchar *

Gadu-Gadu Work ID 3.

Flags: Read / Write

Default value: NULL


The “im-google-talk” property

  “im-google-talk”           EContactAttrList *

Google Talk Name List.

Flags: Read / Write


The “im-google-talk-home-1” property

  “im-google-talk-home-1”    gchar *

Google Talk Home Name 1.

Flags: Read / Write

Default value: NULL


The “im-google-talk-home-2” property

  “im-google-talk-home-2”    gchar *

Google Talk Home Name 2.

Flags: Read / Write

Default value: NULL


The “im-google-talk-home-3” property

  “im-google-talk-home-3”    gchar *

Google Talk Home Name 3.

Flags: Read / Write

Default value: NULL


The “im-google-talk-work-1” property

  “im-google-talk-work-1”    gchar *

Google Talk Work Name 1.

Flags: Read / Write

Default value: NULL


The “im-google-talk-work-2” property

  “im-google-talk-work-2”    gchar *

Google Talk Work Name 2.

Flags: Read / Write

Default value: NULL


The “im-google-talk-work-3” property

  “im-google-talk-work-3”    gchar *

Google Talk Work Name 3.

Flags: Read / Write

Default value: NULL


The “im-groupwise” property

  “im-groupwise”             EContactAttrList *

GroupWise ID List.

Flags: Read / Write


The “im-groupwise-home-1” property

  “im-groupwise-home-1”      gchar *

GroupWise Home Screen Name 1.

Flags: Read / Write

Default value: NULL


The “im-groupwise-home-2” property

  “im-groupwise-home-2”      gchar *

GroupWise Home Screen Name 2.

Flags: Read / Write

Default value: NULL


The “im-groupwise-home-3” property

  “im-groupwise-home-3”      gchar *

GroupWise Home Screen Name 3.

Flags: Read / Write

Default value: NULL


The “im-groupwise-work-1” property

  “im-groupwise-work-1”      gchar *

GroupWise Work Screen Name 1.

Flags: Read / Write

Default value: NULL


The “im-groupwise-work-2” property

  “im-groupwise-work-2”      gchar *

GroupWise Work Screen Name 2.

Flags: Read / Write

Default value: NULL


The “im-groupwise-work-3” property

  “im-groupwise-work-3”      gchar *

GroupWise Work Screen Name 3.

Flags: Read / Write

Default value: NULL


The “im-icq” property

  “im-icq”                   EContactAttrList *

ICQ ID List.

Flags: Read / Write


The “im-icq-home-1” property

  “im-icq-home-1”            gchar *

ICQ Home ID 1.

Flags: Read / Write

Default value: NULL


The “im-icq-home-2” property

  “im-icq-home-2”            gchar *

ICQ Home ID 2.

Flags: Read / Write

Default value: NULL


The “im-icq-home-3” property

  “im-icq-home-3”            gchar *

ICQ Home ID 3.

Flags: Read / Write

Default value: NULL


The “im-icq-work-1” property

  “im-icq-work-1”            gchar *

ICQ Work ID 1.

Flags: Read / Write

Default value: NULL


The “im-icq-work-2” property

  “im-icq-work-2”            gchar *

ICQ Work ID 2.

Flags: Read / Write

Default value: NULL


The “im-icq-work-3” property

  “im-icq-work-3”            gchar *

ICQ Work ID 3.

Flags: Read / Write

Default value: NULL


The “im-jabber” property

  “im-jabber”                EContactAttrList *

Jabber ID List.

Flags: Read / Write


The “im-jabber-home-1” property

  “im-jabber-home-1”         gchar *

Jabber Home ID 1.

Flags: Read / Write

Default value: NULL


The “im-jabber-home-2” property

  “im-jabber-home-2”         gchar *

Jabber Home ID 2.

Flags: Read / Write

Default value: NULL


The “im-jabber-home-3” property

  “im-jabber-home-3”         gchar *

Jabber Home ID 3.

Flags: Read / Write

Default value: NULL


The “im-jabber-work-1” property

  “im-jabber-work-1”         gchar *

Jabber Work ID 1.

Flags: Read / Write

Default value: NULL


The “im-jabber-work-2” property

  “im-jabber-work-2”         gchar *

Jabber Work ID 2.

Flags: Read / Write

Default value: NULL


The “im-jabber-work-3” property

  “im-jabber-work-3”         gchar *

Jabber Work ID 3.

Flags: Read / Write

Default value: NULL


The “im-msn” property

  “im-msn”                   EContactAttrList *

MSN Screen Name List.

Flags: Read / Write


The “im-msn-home-1” property

  “im-msn-home-1”            gchar *

MSN Home Screen Name 1.

Flags: Read / Write

Default value: NULL


The “im-msn-home-2” property

  “im-msn-home-2”            gchar *

MSN Home Screen Name 2.

Flags: Read / Write

Default value: NULL


The “im-msn-home-3” property

  “im-msn-home-3”            gchar *

MSN Home Screen Name 3.

Flags: Read / Write

Default value: NULL


The “im-msn-work-1” property

  “im-msn-work-1”            gchar *

MSN Work Screen Name 1.

Flags: Read / Write

Default value: NULL


The “im-msn-work-2” property

  “im-msn-work-2”            gchar *

MSN Work Screen Name 2.

Flags: Read / Write

Default value: NULL


The “im-msn-work-3” property

  “im-msn-work-3”            gchar *

MSN Work Screen Name 3.

Flags: Read / Write

Default value: NULL


The “im-skype” property

  “im-skype”                 EContactAttrList *

Skype Name List.

Flags: Read / Write


The “im-skype-home-1” property

  “im-skype-home-1”          gchar *

Skype Home Name 1.

Flags: Read / Write

Default value: NULL


The “im-skype-home-2” property

  “im-skype-home-2”          gchar *

Skype Home Name 2.

Flags: Read / Write

Default value: NULL


The “im-skype-home-3” property

  “im-skype-home-3”          gchar *

Skype Home Name 3.

Flags: Read / Write

Default value: NULL


The “im-skype-work-1” property

  “im-skype-work-1”          gchar *

Skype Work Name 1.

Flags: Read / Write

Default value: NULL


The “im-skype-work-2” property

  “im-skype-work-2”          gchar *

Skype Work Name 2.

Flags: Read / Write

Default value: NULL


The “im-skype-work-3” property

  “im-skype-work-3”          gchar *

Skype Work Name 3.

Flags: Read / Write

Default value: NULL


The “im-twitter” property

  “im-twitter”               EContactAttrList *

Twitter Name List.

Flags: Read / Write


The “im-yahoo” property

  “im-yahoo”                 EContactAttrList *

Yahoo! Screen Name List.

Flags: Read / Write


The “im-yahoo-home-1” property

  “im-yahoo-home-1”          gchar *

Yahoo! Home Screen Name 1.

Flags: Read / Write

Default value: NULL


The “im-yahoo-home-2” property

  “im-yahoo-home-2”          gchar *

Yahoo! Home Screen Name 2.

Flags: Read / Write

Default value: NULL


The “im-yahoo-home-3” property

  “im-yahoo-home-3”          gchar *

Yahoo! Home Screen Name 3.

Flags: Read / Write

Default value: NULL


The “im-yahoo-work-1” property

  “im-yahoo-work-1”          gchar *

Yahoo! Work Screen Name 1.

Flags: Read / Write

Default value: NULL


The “im-yahoo-work-2” property

  “im-yahoo-work-2”          gchar *

Yahoo! Work Screen Name 2.

Flags: Read / Write

Default value: NULL


The “im-yahoo-work-3” property

  “im-yahoo-work-3”          gchar *

Yahoo! Work Screen Name 3.

Flags: Read / Write

Default value: NULL


The “isdn-phone” property

  “isdn-phone”               gchar *

ISDN.

Flags: Read / Write

Default value: NULL


The “list” property

  “list”                     gboolean

List.

Flags: Read / Write

Default value: FALSE


The “list-show-addresses” property

  “list-show-addresses”      gboolean

List Shows Addresses.

Flags: Read / Write

Default value: FALSE


The “logo” property

  “logo”                     EContactPhoto *

Logo.

Flags: Read / Write


The “mailer” property

  “mailer”                   gchar *

Mailer.

Flags: Read / Write

Default value: NULL


The “manager” property

  “manager”                  gchar *

Manager.

Flags: Read / Write

Default value: NULL


The “mobile-phone” property

  “mobile-phone”             gchar *

Mobile Phone.

Flags: Read / Write

Default value: NULL


The “name” property

  “name”                     EContactName *

Name.

Flags: Read / Write


The “name-or-org” property

  “name-or-org”              gchar *

Name or Org.

Flags: Read

Default value: NULL


The “nickname” property

  “nickname”                 gchar *

Nickname.

Flags: Read / Write

Default value: NULL


The “note” property

  “note”                     gchar *

Note.

Flags: Read / Write

Default value: NULL


The “office” property

  “office”                   gchar *

Office.

Flags: Read / Write

Default value: NULL


The “org” property

  “org”                      gchar *

Organization.

Flags: Read / Write

Default value: NULL


The “org-unit” property

  “org-unit”                 gchar *

Organizational Unit.

Flags: Read / Write

Default value: NULL


The “other-fax” property

  “other-fax”                gchar *

Other Fax.

Flags: Read / Write

Default value: NULL


The “other-phone” property

  “other-phone”              gchar *

Other Phone.

Flags: Read / Write

Default value: NULL


The “pager” property

  “pager”                    gchar *

Pager.

Flags: Read / Write

Default value: NULL


The “phone” property

  “phone”                    EContactAttrList *

Telephone.

Flags: Read / Write


The “photo” property

  “photo”                    EContactPhoto *

Photo.

Flags: Read / Write


The “primary-phone” property

  “primary-phone”            gchar *

Primary Phone.

Flags: Read / Write

Default value: NULL


The “radio” property

  “radio”                    gchar *

Radio.

Flags: Read / Write

Default value: NULL


The “role” property

  “role”                     gchar *

Role.

Flags: Read / Write

Default value: NULL


The “sip” property

  “sip”                      EContactAttrList *

SIP address.

Flags: Read / Write


The “spouse” property

  “spouse”                   gchar *

Spouse's Name.

Flags: Read / Write

Default value: NULL


The “telex” property

  “telex”                    gchar *

Telex.

Flags: Read / Write

Default value: NULL


The “title” property

  “title”                    gchar *

Title.

Flags: Read / Write

Default value: NULL


The “tty” property

  “tty”                      gchar *

TTY.

Flags: Read / Write

Default value: NULL


The “video-url” property

  “video-url”                gchar *

Video Conferencing URL.

Flags: Read / Write

Default value: NULL


The “wants-html” property

  “wants-html”               gboolean

Wants HTML Mail.

Flags: Read / Write

Default value: FALSE


The “x509Cert” property

  “x509Cert”                 EContactCert *

X.509 Certificate.

Flags: Read / Write