bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2005-2018 Dovecot authors, see the included COPYING file */
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainenvoid dict_transaction_memory_init(struct dict_transaction_memory_context *ctx,
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainenvoid dict_transaction_memory_rollback(struct dict_transaction_context *_ctx)
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen (struct dict_transaction_memory_context *)_ctx;
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainenvoid dict_transaction_memory_set(struct dict_transaction_context *_ctx,
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen (struct dict_transaction_memory_context *)_ctx;
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen struct dict_transaction_memory_change *change;
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen change->value.str = p_strdup(ctx->pool, value);
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainenvoid dict_transaction_memory_unset(struct dict_transaction_context *_ctx,
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen const char *key)
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen (struct dict_transaction_memory_context *)_ctx;
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen struct dict_transaction_memory_change *change;
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainenvoid dict_transaction_memory_atomic_inc(struct dict_transaction_context *_ctx,
8bf42ce5ef783b96a2ded67524173e95e9b45adaTimo Sirainen (struct dict_transaction_memory_context *)_ctx;