CouchdbDocumentContact

CouchdbDocumentContact

Synopsis

#define             COUCHDB_DOCUMENT_CONTACTGET_CLASS   (obj)
                    CouchdbDocumentContact;
                    CouchdbDocumentContactClass;
CouchdbDocumentContact * couchdb_document_contact_new   (void);
const char *        couchdb_document_contact_get_title  (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_title  (CouchdbDocumentContact *document,
                                                         const char *title);
const char *        couchdb_document_contact_get_first_name
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_first_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *first_name);
const char *        couchdb_document_contact_get_middle_name
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_middle_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *middle_name);
const char *        couchdb_document_contact_get_last_name
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_last_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *last_name);
const char *        couchdb_document_contact_get_suffix (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_suffix (CouchdbDocumentContact *document,
                                                         const char *suffix);
const char *        couchdb_document_contact_get_nick_name
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_nick_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *nick_name);
const char *        couchdb_document_contact_get_spouse_name
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_spouse_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *spouse_name);
const char *        couchdb_document_contact_get_birth_date
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_birth_date
                                                        (CouchdbDocumentContact *document,
                                                         const char *birth_date);
const char *        couchdb_document_contact_get_wedding_date
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_wedding_date
                                                        (CouchdbDocumentContact *document,
                                                         const char *wedding_date);
const char *        couchdb_document_contact_get_company
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_company
                                                        (CouchdbDocumentContact *document,
                                                         const char *company);
const char *        couchdb_document_contact_get_department
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_department
                                                        (CouchdbDocumentContact *document,
                                                         const char *department);
const char *        couchdb_document_contact_get_job_title
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_job_title
                                                        (CouchdbDocumentContact *document,
                                                         const char *job_title);
const char *        couchdb_document_contact_get_manager_name
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_manager_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *manager_name);
const char *        couchdb_document_contact_get_assistant_name
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_assistant_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *assistant_name);
const char *        couchdb_document_contact_get_office (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_office (CouchdbDocumentContact *document,
                                                         const char *office);
GSList *            couchdb_document_contact_get_email_addresses
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_email_addresses
                                                        (CouchdbDocumentContact *document,
                                                         GSList *list);
GSList *            couchdb_document_contact_get_phone_numbers
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_phone_numbers
                                                        (CouchdbDocumentContact *document,
                                                         GSList *list);
GSList *            couchdb_document_contact_get_addresses
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_addresses
                                                        (CouchdbDocumentContact *document,
                                                         GSList *list);
GSList *            couchdb_document_contact_get_im_addresses
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_im_addresses
                                                        (CouchdbDocumentContact *document,
                                                         GSList *list);
GSList *            couchdb_document_contact_get_urls   (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_urls   (CouchdbDocumentContact *document,
                                                         GSList *list);
const char *        couchdb_document_contact_get_categories
                                                        (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_categories
                                                        (CouchdbDocumentContact *document,
                                                         const char *categories);
const char *        couchdb_document_contact_get_notes  (CouchdbDocumentContact *document);
void                couchdb_document_contact_set_notes  (CouchdbDocumentContact *document,
                                                         const char *notes);
CouchdbStructField * couchdb_document_contact_email_new (const char *uuid,
                                                         const char *address,
                                                         const char *description);
const char *        couchdb_document_contact_email_get_address
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_email_set_address
                                                        (CouchdbStructField *sf,
                                                         const char *email);
#define             COUCHDB_DOCUMENT_CONTACT_EMAIL_DESCRIPTION_HOME
#define             COUCHDB_DOCUMENT_CONTACT_EMAIL_DESCRIPTION_OTHER
#define             COUCHDB_DOCUMENT_CONTACT_EMAIL_DESCRIPTION_WORK
const char *        couchdb_document_contact_email_get_description
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_email_set_description
                                                        (CouchdbStructField *sf,
                                                         const char *description);
CouchdbStructField * couchdb_document_contact_phone_new (const char *uuid,
                                                         const char *number,
                                                         const char *description,
                                                         gint priority);
gint                couchdb_document_contact_phone_get_priority
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_phone_set_priority
                                                        (CouchdbStructField *sf,
                                                         gint priority);
const char *        couchdb_document_contact_phone_get_number
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_phone_set_number
                                                        (CouchdbStructField *sf,
                                                         const char *number);
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_ASSISTANT
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_CALLBACK
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_CAR
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_COMPANY
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_HOME
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_HOME_FAX
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_MOBILE
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_OTHER
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_OTHER_FAX
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_PAGER
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_PRIMARY
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_RADIO
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_TELEX
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_WORK
#define             COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_WORK_FAX
const char *        couchdb_document_contact_phone_get_description
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_phone_set_description
                                                        (CouchdbStructField *sf,
                                                         const char *description);
CouchdbStructField * couchdb_document_contact_address_new
                                                        (const char *uuid,
                                                         const char *street,
                                                         const char *ext_street,
                                                         const char *city,
                                                         const char *state,
                                                         const char *country,
                                                         const char *postalcode,
                                                         const char *pobox,
                                                         const char *description);
const char *        couchdb_document_contact_address_get_street
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_address_set_street
                                                        (CouchdbStructField *sf,
                                                         const char *street);
const char *        couchdb_document_contact_address_get_ext_street
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_address_set_ext_street
                                                        (CouchdbStructField *sf,
                                                         const char *ext_street);
const char *        couchdb_document_contact_address_get_city
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_address_set_city
                                                        (CouchdbStructField *sf,
                                                         const char *city);
const char *        couchdb_document_contact_address_get_state
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_address_set_state
                                                        (CouchdbStructField *sf,
                                                         const char *state);
const char *        couchdb_document_contact_address_get_country
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_address_set_country
                                                        (CouchdbStructField *sf,
                                                         const char *country);
const char *        couchdb_document_contact_address_get_postalcode
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_address_set_postalcode
                                                        (CouchdbStructField *sf,
                                                         const char *postalcode);
const char *        couchdb_document_contact_address_get_pobox
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_address_set_pobox
                                                        (CouchdbStructField *sf,
                                                         const char *pobox);
#define             COUCHDB_DOCUMENT_CONTACT_ADDRESS_DESCRIPTION_HOME
#define             COUCHDB_DOCUMENT_CONTACT_ADDRESS_DESCRIPTION_OTHER
#define             COUCHDB_DOCUMENT_CONTACT_ADDRESS_DESCRIPTION_WORK
const char *        couchdb_document_contact_address_get_description
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_address_set_description
                                                        (CouchdbStructField *sf,
                                                         const char *description);
CouchdbStructField * couchdb_document_contact_im_new    (const char *uuid,
                                                         const char *address,
                                                         const char *description,
                                                         const char *protocol);
const char *        couchdb_document_contact_im_get_address
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_im_set_address
                                                        (CouchdbStructField *sf,
                                                         const char *address);
const char *        couchdb_document_contact_im_get_description
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_im_set_description
                                                        (CouchdbStructField *sf,
                                                         const char *description);
#define             COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_AIM
#define             COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_GADU_GADU
#define             COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_GROUPWISE
#define             COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_ICQ
#define             COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_IRC
#define             COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_JABBER
#define             COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_MSN
#define             COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_SKYPE
#define             COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_YAHOO
const char *        couchdb_document_contact_im_get_protocol
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_im_set_protocol
                                                        (CouchdbStructField *sf,
                                                         const char *protocol);
CouchdbStructField * couchdb_document_contact_url_new   (const char *uuid,
                                                         const char *address,
                                                         const char *description);
const char *        couchdb_document_contact_url_get_address
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_url_set_address
                                                        (CouchdbStructField *sf,
                                                         const char *address);
#define             COUCHDB_DOCUMENT_CONTACT_URL_DESCRIPTION_BLOG
#define             COUCHDB_DOCUMENT_CONTACT_URL_DESCRIPTION_HOMEPAGE
const char *        couchdb_document_contact_url_get_description
                                                        (CouchdbStructField *sf);
void                couchdb_document_contact_url_set_description
                                                        (CouchdbStructField *sf,
                                                         const char *description);

Description

Details

COUCHDB_DOCUMENT_CONTACTGET_CLASS()

#define COUCHDB_DOCUMENT_CONTACTGET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), COUCHDB_TYPE_DOCUMENT_CONTACT, CouchdbDocumentContactClass))


CouchdbDocumentContact

typedef struct {
	CouchdbDocument parent;
} CouchdbDocumentContact;


CouchdbDocumentContactClass

typedef struct {
	CouchdbDocumentClass parent_class;
} CouchdbDocumentContactClass;


couchdb_document_contact_new ()

CouchdbDocumentContact * couchdb_document_contact_new   (void);

Create a new CouchdbDocumentContact object.


couchdb_document_contact_get_title ()

const char *        couchdb_document_contact_get_title  (CouchdbDocumentContact *document);


couchdb_document_contact_set_title ()

void                couchdb_document_contact_set_title  (CouchdbDocumentContact *document,
                                                         const char *title);


couchdb_document_contact_get_first_name ()

const char *        couchdb_document_contact_get_first_name
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_first_name ()

void                couchdb_document_contact_set_first_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *first_name);


couchdb_document_contact_get_middle_name ()

const char *        couchdb_document_contact_get_middle_name
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_middle_name ()

void                couchdb_document_contact_set_middle_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *middle_name);


couchdb_document_contact_get_last_name ()

const char *        couchdb_document_contact_get_last_name
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_last_name ()

void                couchdb_document_contact_set_last_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *last_name);


couchdb_document_contact_get_suffix ()

const char *        couchdb_document_contact_get_suffix (CouchdbDocumentContact *document);


couchdb_document_contact_set_suffix ()

void                couchdb_document_contact_set_suffix (CouchdbDocumentContact *document,
                                                         const char *suffix);


couchdb_document_contact_get_nick_name ()

const char *        couchdb_document_contact_get_nick_name
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_nick_name ()

void                couchdb_document_contact_set_nick_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *nick_name);


couchdb_document_contact_get_spouse_name ()

const char *        couchdb_document_contact_get_spouse_name
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_spouse_name ()

void                couchdb_document_contact_set_spouse_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *spouse_name);


couchdb_document_contact_get_birth_date ()

const char *        couchdb_document_contact_get_birth_date
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_birth_date ()

void                couchdb_document_contact_set_birth_date
                                                        (CouchdbDocumentContact *document,
                                                         const char *birth_date);


couchdb_document_contact_get_wedding_date ()

const char *        couchdb_document_contact_get_wedding_date
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_wedding_date ()

void                couchdb_document_contact_set_wedding_date
                                                        (CouchdbDocumentContact *document,
                                                         const char *wedding_date);


couchdb_document_contact_get_company ()

const char *        couchdb_document_contact_get_company
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_company ()

void                couchdb_document_contact_set_company
                                                        (CouchdbDocumentContact *document,
                                                         const char *company);


couchdb_document_contact_get_department ()

const char *        couchdb_document_contact_get_department
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_department ()

void                couchdb_document_contact_set_department
                                                        (CouchdbDocumentContact *document,
                                                         const char *department);


couchdb_document_contact_get_job_title ()

const char *        couchdb_document_contact_get_job_title
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_job_title ()

void                couchdb_document_contact_set_job_title
                                                        (CouchdbDocumentContact *document,
                                                         const char *job_title);


couchdb_document_contact_get_manager_name ()

const char *        couchdb_document_contact_get_manager_name
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_manager_name ()

void                couchdb_document_contact_set_manager_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *manager_name);


couchdb_document_contact_get_assistant_name ()

const char *        couchdb_document_contact_get_assistant_name
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_assistant_name ()

void                couchdb_document_contact_set_assistant_name
                                                        (CouchdbDocumentContact *document,
                                                         const char *assistant_name);


couchdb_document_contact_get_office ()

const char *        couchdb_document_contact_get_office (CouchdbDocumentContact *document);


couchdb_document_contact_set_office ()

void                couchdb_document_contact_set_office (CouchdbDocumentContact *document,
                                                         const char *office);


couchdb_document_contact_get_email_addresses ()

GSList *            couchdb_document_contact_get_email_addresses
                                                        (CouchdbDocumentContact *document);

Retrieve a list of email addresses from the specified contact document. Email addresses are returned in a GSList of CouchdbStructField objects, which can be manipulated with the couchdb_document_contact_email_* functions and freed with: g_slist_foreach (list, (GFunc) couchdb_struct_field_unref, NULL); g_slist_free (list);

document :

A CouchdbDocumentContact object representing a contact

Returns :

a GSList of CouchdbStructField objects.

couchdb_document_contact_set_email_addresses ()

void                couchdb_document_contact_set_email_addresses
                                                        (CouchdbDocumentContact *document,
                                                         GSList *list);


couchdb_document_contact_get_phone_numbers ()

GSList *            couchdb_document_contact_get_phone_numbers
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_phone_numbers ()

void                couchdb_document_contact_set_phone_numbers
                                                        (CouchdbDocumentContact *document,
                                                         GSList *list);


couchdb_document_contact_get_addresses ()

GSList *            couchdb_document_contact_get_addresses
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_addresses ()

void                couchdb_document_contact_set_addresses
                                                        (CouchdbDocumentContact *document,
                                                         GSList *list);


couchdb_document_contact_get_im_addresses ()

GSList *            couchdb_document_contact_get_im_addresses
                                                        (CouchdbDocumentContact *document);


couchdb_document_contact_set_im_addresses ()

void                couchdb_document_contact_set_im_addresses
                                                        (CouchdbDocumentContact *document,
                                                         GSList *list);


couchdb_document_contact_get_urls ()

GSList *            couchdb_document_contact_get_urls   (CouchdbDocumentContact *document);


couchdb_document_contact_set_urls ()

void                couchdb_document_contact_set_urls   (CouchdbDocumentContact *document,
                                                         GSList *list);


couchdb_document_contact_get_categories ()

const char *        couchdb_document_contact_get_categories
                                                        (CouchdbDocumentContact *document);

Get the list of categories (as a string) for this contact document.

document :

A CouchdbDocumentContact object

Returns :

A comma separated list of categories as a string.

couchdb_document_contact_set_categories ()

void                couchdb_document_contact_set_categories
                                                        (CouchdbDocumentContact *document,
                                                         const char *categories);


couchdb_document_contact_get_notes ()

const char *        couchdb_document_contact_get_notes  (CouchdbDocumentContact *document);


couchdb_document_contact_set_notes ()

void                couchdb_document_contact_set_notes  (CouchdbDocumentContact *document,
                                                         const char *notes);


couchdb_document_contact_email_new ()

CouchdbStructField * couchdb_document_contact_email_new (const char *uuid,
                                                         const char *address,
                                                         const char *description);


couchdb_document_contact_email_get_address ()

const char *        couchdb_document_contact_email_get_address
                                                        (CouchdbStructField *sf);


couchdb_document_contact_email_set_address ()

void                couchdb_document_contact_email_set_address
                                                        (CouchdbStructField *sf,
                                                         const char *email);


COUCHDB_DOCUMENT_CONTACT_EMAIL_DESCRIPTION_HOME

#define COUCHDB_DOCUMENT_CONTACT_EMAIL_DESCRIPTION_HOME  "home"


COUCHDB_DOCUMENT_CONTACT_EMAIL_DESCRIPTION_OTHER

#define COUCHDB_DOCUMENT_CONTACT_EMAIL_DESCRIPTION_OTHER "other"


COUCHDB_DOCUMENT_CONTACT_EMAIL_DESCRIPTION_WORK

#define COUCHDB_DOCUMENT_CONTACT_EMAIL_DESCRIPTION_WORK  "work"


couchdb_document_contact_email_get_description ()

const char *        couchdb_document_contact_email_get_description
                                                        (CouchdbStructField *sf);


couchdb_document_contact_email_set_description ()

void                couchdb_document_contact_email_set_description
                                                        (CouchdbStructField *sf,
                                                         const char *description);


couchdb_document_contact_phone_new ()

CouchdbStructField * couchdb_document_contact_phone_new (const char *uuid,
                                                         const char *number,
                                                         const char *description,
                                                         gint priority);


couchdb_document_contact_phone_get_priority ()

gint                couchdb_document_contact_phone_get_priority
                                                        (CouchdbStructField *sf);


couchdb_document_contact_phone_set_priority ()

void                couchdb_document_contact_phone_set_priority
                                                        (CouchdbStructField *sf,
                                                         gint priority);


couchdb_document_contact_phone_get_number ()

const char *        couchdb_document_contact_phone_get_number
                                                        (CouchdbStructField *sf);


couchdb_document_contact_phone_set_number ()

void                couchdb_document_contact_phone_set_number
                                                        (CouchdbStructField *sf,
                                                         const char *number);


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_ASSISTANT

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_ASSISTANT "assistant"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_CALLBACK

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_CALLBACK  "callback"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_CAR

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_CAR       "car"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_COMPANY

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_COMPANY   "company"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_HOME

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_HOME      "home"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_HOME_FAX

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_HOME_FAX  "home fax"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_MOBILE

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_MOBILE    "mobile"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_OTHER

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_OTHER     "other"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_OTHER_FAX

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_OTHER_FAX "other fax"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_PAGER

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_PAGER     "pager"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_PRIMARY

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_PRIMARY   "primary"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_RADIO

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_RADIO     "radio"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_TELEX

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_TELEX     "telex"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_WORK

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_WORK      "work"


COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_WORK_FAX

#define COUCHDB_DOCUMENT_CONTACT_PHONE_DESCRIPTION_WORK_FAX  "work fax"


couchdb_document_contact_phone_get_description ()

const char *        couchdb_document_contact_phone_get_description
                                                        (CouchdbStructField *sf);


couchdb_document_contact_phone_set_description ()

void                couchdb_document_contact_phone_set_description
                                                        (CouchdbStructField *sf,
                                                         const char *description);


couchdb_document_contact_address_new ()

CouchdbStructField * couchdb_document_contact_address_new
                                                        (const char *uuid,
                                                         const char *street,
                                                         const char *ext_street,
                                                         const char *city,
                                                         const char *state,
                                                         const char *country,
                                                         const char *postalcode,
                                                         const char *pobox,
                                                         const char *description);


couchdb_document_contact_address_get_street ()

const char *        couchdb_document_contact_address_get_street
                                                        (CouchdbStructField *sf);


couchdb_document_contact_address_set_street ()

void                couchdb_document_contact_address_set_street
                                                        (CouchdbStructField *sf,
                                                         const char *street);


couchdb_document_contact_address_get_ext_street ()

const char *        couchdb_document_contact_address_get_ext_street
                                                        (CouchdbStructField *sf);


couchdb_document_contact_address_set_ext_street ()

void                couchdb_document_contact_address_set_ext_street
                                                        (CouchdbStructField *sf,
                                                         const char *ext_street);


couchdb_document_contact_address_get_city ()

const char *        couchdb_document_contact_address_get_city
                                                        (CouchdbStructField *sf);


couchdb_document_contact_address_set_city ()

void                couchdb_document_contact_address_set_city
                                                        (CouchdbStructField *sf,
                                                         const char *city);


couchdb_document_contact_address_get_state ()

const char *        couchdb_document_contact_address_get_state
                                                        (CouchdbStructField *sf);


couchdb_document_contact_address_set_state ()

void                couchdb_document_contact_address_set_state
                                                        (CouchdbStructField *sf,
                                                         const char *state);


couchdb_document_contact_address_get_country ()

const char *        couchdb_document_contact_address_get_country
                                                        (CouchdbStructField *sf);


couchdb_document_contact_address_set_country ()

void                couchdb_document_contact_address_set_country
                                                        (CouchdbStructField *sf,
                                                         const char *country);


couchdb_document_contact_address_get_postalcode ()

const char *        couchdb_document_contact_address_get_postalcode
                                                        (CouchdbStructField *sf);


couchdb_document_contact_address_set_postalcode ()

void                couchdb_document_contact_address_set_postalcode
                                                        (CouchdbStructField *sf,
                                                         const char *postalcode);


couchdb_document_contact_address_get_pobox ()

const char *        couchdb_document_contact_address_get_pobox
                                                        (CouchdbStructField *sf);


couchdb_document_contact_address_set_pobox ()

void                couchdb_document_contact_address_set_pobox
                                                        (CouchdbStructField *sf,
                                                         const char *pobox);


COUCHDB_DOCUMENT_CONTACT_ADDRESS_DESCRIPTION_HOME

#define COUCHDB_DOCUMENT_CONTACT_ADDRESS_DESCRIPTION_HOME  "home"


COUCHDB_DOCUMENT_CONTACT_ADDRESS_DESCRIPTION_OTHER

#define COUCHDB_DOCUMENT_CONTACT_ADDRESS_DESCRIPTION_OTHER "other"


COUCHDB_DOCUMENT_CONTACT_ADDRESS_DESCRIPTION_WORK

#define COUCHDB_DOCUMENT_CONTACT_ADDRESS_DESCRIPTION_WORK  "work"


couchdb_document_contact_address_get_description ()

const char *        couchdb_document_contact_address_get_description
                                                        (CouchdbStructField *sf);


couchdb_document_contact_address_set_description ()

void                couchdb_document_contact_address_set_description
                                                        (CouchdbStructField *sf,
                                                         const char *description);


couchdb_document_contact_im_new ()

CouchdbStructField * couchdb_document_contact_im_new    (const char *uuid,
                                                         const char *address,
                                                         const char *description,
                                                         const char *protocol);


couchdb_document_contact_im_get_address ()

const char *        couchdb_document_contact_im_get_address
                                                        (CouchdbStructField *sf);


couchdb_document_contact_im_set_address ()

void                couchdb_document_contact_im_set_address
                                                        (CouchdbStructField *sf,
                                                         const char *address);


couchdb_document_contact_im_get_description ()

const char *        couchdb_document_contact_im_get_description
                                                        (CouchdbStructField *sf);


couchdb_document_contact_im_set_description ()

void                couchdb_document_contact_im_set_description
                                                        (CouchdbStructField *sf,
                                                         const char *description);


COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_AIM

#define COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_AIM       "aim"


COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_GADU_GADU

#define COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_GADU_GADU "gadu-gadu"


COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_GROUPWISE

#define COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_GROUPWISE "groupwise"


COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_ICQ

#define COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_ICQ       "icq"


COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_IRC

#define COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_IRC       "irc"


COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_JABBER

#define COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_JABBER    "jabber"


COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_MSN

#define COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_MSN       "msn"


COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_SKYPE

#define COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_SKYPE     "skype"


COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_YAHOO

#define COUCHDB_DOCUMENT_CONTACT_IM_PROTOCOL_YAHOO     "yahoo"


couchdb_document_contact_im_get_protocol ()

const char *        couchdb_document_contact_im_get_protocol
                                                        (CouchdbStructField *sf);


couchdb_document_contact_im_set_protocol ()

void                couchdb_document_contact_im_set_protocol
                                                        (CouchdbStructField *sf,
                                                         const char *protocol);


couchdb_document_contact_url_new ()

CouchdbStructField * couchdb_document_contact_url_new   (const char *uuid,
                                                         const char *address,
                                                         const char *description);


couchdb_document_contact_url_get_address ()

const char *        couchdb_document_contact_url_get_address
                                                        (CouchdbStructField *sf);


couchdb_document_contact_url_set_address ()

void                couchdb_document_contact_url_set_address
                                                        (CouchdbStructField *sf,
                                                         const char *address);


COUCHDB_DOCUMENT_CONTACT_URL_DESCRIPTION_BLOG

#define COUCHDB_DOCUMENT_CONTACT_URL_DESCRIPTION_BLOG     "blog"


COUCHDB_DOCUMENT_CONTACT_URL_DESCRIPTION_HOMEPAGE

#define COUCHDB_DOCUMENT_CONTACT_URL_DESCRIPTION_HOMEPAGE "home page"


couchdb_document_contact_url_get_description ()

const char *        couchdb_document_contact_url_get_description
                                                        (CouchdbStructField *sf);


couchdb_document_contact_url_set_description ()

void                couchdb_document_contact_url_set_description
                                                        (CouchdbStructField *sf,
                                                         const char *description);