diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-07-09 13:02:45 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-07-15 11:19:45 -0400 |
commit | 1a91062d7d82407a6e376b62b29dca709170a66b (patch) | |
tree | f2ead880fe67a3991bdf2f998bfc70baf571ffeb /common/collection/collection_priv.h | |
parent | df8b16d7d55d97001ed71f629fc21511ec9f8d3b (diff) | |
download | sssd-1a91062d7d82407a6e376b62b29dca709170a66b.tar.gz sssd-1a91062d7d82407a6e376b62b29dca709170a66b.tar.bz2 sssd-1a91062d7d82407a6e376b62b29dca709170a66b.zip |
COLLECTION Adding flat traversal & copy
The collection is hearachical. The flattening
of the collection was not implemented before
both for traversal and copying. This patch
introduces functionality to traverse or
iterate through collection as flat set
and also copy collection into another flattening
it and automatically resolving conflicts.
Also imptoved tracability and fixed memory leak
in unbind iterator code.
Diffstat (limited to 'common/collection/collection_priv.h')
-rw-r--r-- | common/collection/collection_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/collection/collection_priv.h b/common/collection/collection_priv.h index fc11a1fa..699479a3 100644 --- a/common/collection/collection_priv.h +++ b/common/collection/collection_priv.h @@ -57,6 +57,7 @@ struct collection_iterator { struct collection_item **stack; unsigned stack_size; unsigned stack_depth; + unsigned item_level; int flags; struct collection_item *end_item; }; |