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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2009-08-19 19:07:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090819190732-ut6fyubp51pb3agr
Tags: 0.4.4-0ubuntu1
* Package upstream 0.4.4 release: (LP: #416027)
  - Only include json-glib.h (Rodrigo Moya)
  - Depend on json-glib >= 0.7.4 to have saving of documents working (Rodrigo 
    Moya)
  - Send errors from libsoup back to the caller (Rodrigo Moya)
  - Add contact records creation convenience function (Rodrigo Moya)
  - Add support for application_annotations field (Rodrigo Moya)
  - Add functions to convert struct fields to and from strings (Rodrigo Moya)
* debian/control: bumped libjson-glib-dev Build-Depends to >= 0.7.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
const char      *couchdb_document_get_id (CouchDBDocument *document);
87
87
void             couchdb_document_set_id (CouchDBDocument *document, const char *id);
88
 
 
89
88
const char      *couchdb_document_get_revision (CouchDBDocument *document);
90
89
void             couchdb_document_set_revision (CouchDBDocument *document, const char *revision);
91
 
 
92
 
gboolean         couchdb_document_is_contact (CouchDBDocument *document);
 
90
const char      *couchdb_document_get_record_type (CouchDBDocument *document);
 
91
void             couchdb_document_set_record_type (CouchDBDocument *document, const char *record_type);
93
92
 
94
93
gboolean         couchdb_document_has_field (CouchDBDocument *document, const char *field);
95
94
void             couchdb_document_remove_field (CouchDBDocument *document, const char *field);
107
106
                                                    const char *field,
108
107
                                                    CouchDBStructField *value);
109
108
 
110
 
char            *couchdb_document_to_string (CouchDBDocument *document);
 
109
CouchDBStructField *couchdb_document_get_application_annotations (CouchDBDocument *document);
 
110
void             couchdb_document_set_application_annotations (CouchDBDocument *document, CouchDBStructField *annotations);
 
111
      
 
112
char *couchdb_document_to_string (CouchDBDocument *document);
111
113
 
112
114
 
113
115
#endif