[dovecot-cvs] dovecot/src/plugins/acl acl-api.c, 1.5, 1.6 acl-api.h, 1.2, 1.3
tss at dovecot.org
tss at dovecot.org
Wed Apr 11 15:08:24 EEST 2007
Update of /var/lib/cvs/dovecot/src/plugins/acl
In directory talvi:/tmp/cvs-serv27264
Modified Files:
acl-api.c acl-api.h
Log Message:
acl_object_list_deinit() now takes **iter parameter.
Index: acl-api.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/acl/acl-api.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- acl-api.c 11 Apr 2007 11:02:31 -0000 1.5
+++ acl-api.c 11 Apr 2007 12:08:22 -0000 1.6
@@ -134,7 +134,10 @@
return iter->aclobj->backend->v.object_list_next(iter, rights_r);
}
-void acl_object_list_deinit(struct acl_object_list_iter *iter)
+void acl_object_list_deinit(struct acl_object_list_iter **_iter)
{
+ struct acl_object_list_iter *iter = *_iter;
+
+ *_iter = NULL;
iter->aclobj->backend->v.object_list_deinit(iter);
}
Index: acl-api.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/acl/acl-api.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- acl-api.h 11 Apr 2007 11:02:31 -0000 1.2
+++ acl-api.h 11 Apr 2007 12:08:22 -0000 1.3
@@ -76,7 +76,7 @@
acl_backend_init(const char *data, struct mailbox_list *list,
const char *acl_username, const char *const *groups,
const char *owner_username);
-void acl_backend_deinit(struct acl_backend **user);
+void acl_backend_deinit(struct acl_backend **backend);
/* Returns TRUE if user isn't anonymous. */
bool acl_backend_user_is_authenticated(struct acl_backend *backend);
/* Returns TRUE if given name matches the ACL user name. */
@@ -109,6 +109,6 @@
struct acl_object_list_iter *acl_object_list_init(struct acl_object *aclobj);
int acl_object_list_next(struct acl_object_list_iter *iter,
struct acl_rights *rights_r);
-void acl_object_list_deinit(struct acl_object_list_iter *iter);
+void acl_object_list_deinit(struct acl_object_list_iter **_iter);
#endif
More information about the dovecot-cvs
mailing list