~ubuntu-branches/ubuntu/karmic/couchdb-glib/karmic

« back to all changes in this revision

Viewing changes to couchdb-glib/couchdb-document-contact.h

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2009-08-26 12:53:53 UTC
  • Revision ID: james.westby@ubuntu.com-20090826125353-x0ysf7tqlj42mhp4
Tags: 0.4.5-0ubuntu2
* Package upstream 0.4.5 release: (LP: #419160)
  - Add lots of new contact record fields (Rodrigo Moya)
  - Check presence of fields in JSON objects before accessing them to avoid
    lots of warnings (Rodrigo Moya)
  - Added functions to deal with URLs in contact documents (Rodrigo Moya)
  - Add uuid to list of pkg-config modules to look for (Rodrigo Moya)
* Skip 0ubuntu1 version number, that was a botched upload (Martin Pitt).

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
void        couchdb_document_contact_set_first_name (CouchDBDocument *document, const char *first_name);
38
38
const char *couchdb_document_contact_get_last_name (CouchDBDocument *document);
39
39
void        couchdb_document_contact_set_last_name (CouchDBDocument *document, const char *last_name);
 
40
const char *couchdb_document_contact_get_nick_name (CouchDBDocument *document);
 
41
void        couchdb_document_contact_set_nick_name (CouchDBDocument *document, const char *nick_name);
 
42
const char *couchdb_document_contact_get_spouse_name (CouchDBDocument *document);
 
43
void        couchdb_document_contact_set_spouse_name (CouchDBDocument *document, const char *spouse_name);
40
44
const char *couchdb_document_contact_get_birth_date (CouchDBDocument *document);
41
45
void        couchdb_document_contact_set_birth_date (CouchDBDocument *document, const char *birth_date);
 
46
const char *couchdb_document_contact_get_wedding_date (CouchDBDocument *document);
 
47
void        couchdb_document_contact_set_wedding_date (CouchDBDocument *document, const char *wedding_date);
 
48
 
 
49
const char *couchdb_document_contact_get_company (CouchDBDocument *document);
 
50
void        couchdb_document_contact_set_company (CouchDBDocument *document, const char *company);
 
51
const char *couchdb_document_contact_get_department (CouchDBDocument *document);
 
52
void        couchdb_document_contact_set_department (CouchDBDocument *document, const char *department);
 
53
const char *couchdb_document_contact_get_title (CouchDBDocument *document);
 
54
void        couchdb_document_contact_set_title (CouchDBDocument *document, const char *title);
 
55
const char *couchdb_document_contact_get_job_title (CouchDBDocument *document);
 
56
void        couchdb_document_contact_set_job_title (CouchDBDocument *document, const char *job_title);
 
57
const char *couchdb_document_contact_get_manager_name (CouchDBDocument *document);
 
58
void        couchdb_document_contact_set_manager_name (CouchDBDocument *document, const char *manager_name);
 
59
const char *couchdb_document_contact_get_assistant_name (CouchDBDocument *document);
 
60
void        couchdb_document_contact_set_assistant_name (CouchDBDocument *document, const char *assistant_name);
 
61
const char *couchdb_document_contact_get_office (CouchDBDocument *document);
 
62
void        couchdb_document_contact_set_office (CouchDBDocument *document, const char *office);
42
63
 
43
64
GSList     *couchdb_document_contact_get_email_addresses (CouchDBDocument *document);
44
65
void        couchdb_document_contact_set_email_addresses (CouchDBDocument *document, GSList *list);
49
70
GSList     *couchdb_document_contact_get_addresses (CouchDBDocument *document);
50
71
void        couchdb_document_contact_set_addresses (CouchDBDocument *document, GSList *list);
51
72
 
 
73
GSList     *couchdb_document_contact_get_urls (CouchDBDocument *document);
 
74
void        couchdb_document_contact_set_urls (CouchDBDocument *document, GSList *list);
 
75
 
 
76
const char *couchdb_document_contact_get_notes (CouchDBDocument *document);
 
77
void        couchdb_document_contact_set_notes (CouchDBDocument *document, const char *notes);
 
78
 
52
79
/*
53
80
 * Utility functions to manipulate email addresses fields
54
81
 */
97
124
const char         *couchdb_document_contact_address_get_description (CouchDBStructField *sf);
98
125
void                couchdb_document_contact_address_set_description (CouchDBStructField *sf, const char *description);
99
126
 
 
127
/*
 
128
 * Utility functions to manipulate URLs
 
129
 */
 
130
CouchDBStructField *couchdb_document_contact_url_new (const char *uuid, const char *address, const char *description);
 
131
const char         *couchdb_document_contact_url_get_address  (CouchDBStructField *sf);
 
132
void                couchdb_document_contact_url_set_address (CouchDBStructField *sf, const char *address);
 
133
const char         *couchdb_document_contact_url_get_description (CouchDBStructField *sf);
 
134
void                couchdb_document_contact_url_set_description (CouchDBStructField *sf, const char *description);
100
135
#endif