}
int acl_object_get_my_rights(struct acl_object *aclobj, pool_t pool,
- const char *const **rights_r)
+ const char *const **rights_r)
{
int ret;
int acl_object_update(struct acl_object *aclobj,
const struct acl_rights_update *update)
{
- return aclobj->backend->v.object_update(aclobj, update);
+ return aclobj->backend->v.object_update(aclobj, update);
}
struct acl_object_list_iter *acl_object_list_init(struct acl_object *aclobj)
{
- return aclobj->backend->v.object_list_init(aclobj);
+ return aclobj->backend->v.object_list_init(aclobj);
}
bool acl_object_list_next(struct acl_object_list_iter *iter,
- struct acl_rights *rights_r)
+ struct acl_rights *rights_r)
{
if (iter->failed)
return FALSE;
struct acl_object_list_iter *iter = *_iter;
*_iter = NULL;
- return iter->aclobj->backend->v.object_list_deinit(iter);
+ return iter->aclobj->backend->v.object_list_deinit(iter);
}
struct acl_object_list_iter *
/* List all identifiers. */
struct acl_object_list_iter *acl_object_list_init(struct acl_object *aclobj);
bool acl_object_list_next(struct acl_object_list_iter *iter,
- struct acl_rights *rights_r);
+ struct acl_rights *rights_r);
int acl_object_list_deinit(struct acl_object_list_iter **iter);
/* Returns the canonical ID for the right. */
if (abox->module_ctx.super.attribute_iter_deinit(aiter->super) < 0)
ret = -1;
}
- if (aiter->acl_iter != && acl_object_list_deinit(&aiter->acl_iter) < 0) {
+ if (aiter->acl_iter != NULL && acl_object_list_deinit(&aiter->acl_iter) < 0) {
mail_storage_set_internal_error(aiter->iter.box->storage);
ret = -1;
}