comparison src/plugins/acl/acl-api.c @ 12777:988e363ac17d

acl: Added acl_backend_nonowner_lookups_rebuild()
author Timo Sirainen <tss@iki.fi>
date Fri, 04 Mar 2011 18:08:30 +0200
parents 5b16b5436e4e
children 447bce266022
comparison
equal deleted inserted replaced
12776:6b0f4dc0fac6 12777:988e363ac17d
159 { 159 {
160 struct acl_mailbox_list_context *ctx = *_ctx; 160 struct acl_mailbox_list_context *ctx = *_ctx;
161 161
162 *_ctx = NULL; 162 *_ctx = NULL;
163 ctx->backend->v.nonowner_lookups_iter_deinit(ctx); 163 ctx->backend->v.nonowner_lookups_iter_deinit(ctx);
164 }
165
166 int acl_backend_nonowner_lookups_rebuild(struct acl_backend *backend)
167 {
168 return backend->v.nonowner_lookups_rebuild(backend);
164 } 169 }
165 170
166 void acl_rights_write_id(string_t *dest, const struct acl_rights *right) 171 void acl_rights_write_id(string_t *dest, const struct acl_rights *right)
167 { 172 {
168 switch (right->id_type) { 173 switch (right->id_type) {