~vcs-imports/couchdb-glib/trunk

« back to all changes in this revision

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

  • Committer: Rodrigo Moya
  • Date: 2011-02-10 17:06:29 UTC
  • Revision ID: git-v1:e4784f9cdeb498d7a4f253d02586881156b33671
Remove couchdb_document_foreach_attachment method, add couchdb_document_list_attachments

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
CouchdbStructField *couchdb_document_get_struct_field (CouchdbDocument *document, const char *field);
78
78
void                couchdb_document_set_struct_field (CouchdbDocument *document, const char *field, CouchdbStructField *value);
79
79
 
80
 
typedef void (* CouchdbDocumentForeachAttachmentFunc) (CouchdbDocument *document,
81
 
                                                       const gchar *attachment_id,
82
 
                                                       gpointer user_data);
83
 
 
84
 
void                couchdb_document_foreach_attachment (CouchdbDocument *document,
85
 
                                                         CouchdbDocumentForeachAttachmentFunc func,
86
 
                                                         gpointer user_data);
 
80
GSList             *couchdb_document_list_attachments (CouchdbDocument *document);
87
81
 
88
82
char               *couchdb_document_to_string (CouchdbDocument *document);
89
83