10399559650f552a23949772be79eb6a80198c5aTimo Sirainen int (*init)(struct dict *dict_driver, const char *uri,
b5052fbfdbc2678cc8f12899afe55c998f43b740Timo Sirainen const char **error_r);
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7Timo Sirainen (*iterate_init)(struct dict *dict, const char *const *paths,
8d25b6ad05b99e75613cb045a121efd51e6afbb6Timo Sirainen bool (*iterate)(struct dict_iterate_context *ctx,
055389c58fa3915e12fb4e72ec86782ce77c5c72Timo Sirainen int (*iterate_deinit)(struct dict_iterate_context *ctx,
055389c58fa3915e12fb4e72ec86782ce77c5c72Timo Sirainen const char **error_r);
28c75d59f1d1a7caeb85635964f3881c0038eb23Timo Sirainen struct dict_transaction_context *(*transaction_init)(struct dict *dict);
c2a66e7950cb4d3fc4d68e4480ea8f39bdd7c871Timo Sirainen /* call the callback before returning if non-async commits */
c2a66e7950cb4d3fc4d68e4480ea8f39bdd7c871Timo Sirainen void (*transaction_commit)(struct dict_transaction_context *ctx,
28c75d59f1d1a7caeb85635964f3881c0038eb23Timo Sirainen void (*transaction_rollback)(struct dict_transaction_context *ctx);
28c75d59f1d1a7caeb85635964f3881c0038eb23Timo Sirainen void (*set)(struct dict_transaction_context *ctx,
92d1458b00f4f236c4cec96a696253d3bbf8b05aTimo Sirainen void (*unset)(struct dict_transaction_context *ctx,
92d1458b00f4f236c4cec96a696253d3bbf8b05aTimo Sirainen const char *key);
28c75d59f1d1a7caeb85635964f3881c0038eb23Timo Sirainen void (*atomic_inc)(struct dict_transaction_context *ctx,
d694b6009574ee6e3cfaee3834cbdbcd431affb0Timo Sirainen void (*lookup_async)(struct dict *dict, const char *key,
d694b6009574ee6e3cfaee3834cbdbcd431affb0Timo Sirainen dict_lookup_callback_t *callback, void *context);
e28b4fc2b62be020156a857485b61842b3b5d791Timo Sirainen void (*set_timestamp)(struct dict_transaction_context *ctx,
5012586ed3a75857ced48302bf0b8a8dc049796aTimo Sirainen struct dict_transaction_context *transactions;
701eb90460d6c57845dc4e0bf595a5d0b90b01c1Timo Sirainenvoid dict_transaction_commit_async_noop_callback(
701eb90460d6c57845dc4e0bf595a5d0b90b01c1Timo Sirainen const struct dict_commit_result *result, void *context);
75bb83681e30d6a86109bbafdfe6b513c11124bcTimo Sirainenextern struct dict dict_driver_memcached_ascii;
d70bf110f2f37ab5315a250c2367f164069755adAki Tuomiextern struct dict_iterate_context dict_iter_unsupported;