mail-index-transaction.c revision d1baa8c6f97cdb1b3c2c44a73cc21f9dfc7a963f
a3bd54a5482d637ac89bbddbc27796d303544d4dEugen Kuksa/* Copyright (c) 2003-2009 Dovecot authors, see the included COPYING file */
e02bcda5c356adb19107c10bd2448a2d43250aeaEugen Kuksamail_index_transaction_get_view(struct mail_index_transaction *t)
e02bcda5c356adb19107c10bd2448a2d43250aeaEugen Kuksabool mail_index_transaction_is_expunged(struct mail_index_transaction *t,
e02bcda5c356adb19107c10bd2448a2d43250aeaEugen Kuksavoid mail_index_transaction_ref(struct mail_index_transaction *t)
a3bd54a5482d637ac89bbddbc27796d303544d4dEugen Kuksavoid mail_index_transaction_unref(struct mail_index_transaction **_t)
a3bd54a5482d637ac89bbddbc27796d303544d4dEugen Kuksa if (--t->refcount > 0)
i_free(t);
unsigned int offset;
return next_uid;
if (t->reset) {
if (!MAIL_INDEX_TRANSACTION_HAS_CHANGES(t)) {
int ret;
if (ret > 0) {
if (ret == 0)
int ret;
ret = 0;
return ret;
t->v.rollback(t);
struct mail_index_transaction *
struct mail_index_transaction *t;
t->v = trans_vfuncs;
t->first_new_seq =