diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-09-14 17:59:13 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-05 10:32:07 -0400 |
commit | 93b643607c3d9a0775faaeb08e404f703a4200f7 (patch) | |
tree | 10b03b0189343ff1cc5d7ed11c7f035bf7319f2c /common/collection/collection_priv.h | |
parent | a71c65a45586b3f6cd5032016621d41d62a8c4f0 (diff) | |
download | sssd-93b643607c3d9a0775faaeb08e404f703a4200f7.tar.gz sssd-93b643607c3d9a0775faaeb08e404f703a4200f7.tar.bz2 sssd-93b643607c3d9a0775faaeb08e404f703a4200f7.zip |
COLLECTION Realigning collection code
Created a new module to hold functions
related to iterator and iterating
collections. Planning to add new functions
but the main collection module is already
too big. So this patch just moves code around
and fixes the build making foundation for
the next patch.
Diffstat (limited to 'common/collection/collection_priv.h')
-rw-r--r-- | common/collection/collection_priv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/collection/collection_priv.h b/common/collection/collection_priv.h index 699479a3..767514be 100644 --- a/common/collection/collection_priv.h +++ b/common/collection/collection_priv.h @@ -71,4 +71,11 @@ struct collection_header { unsigned cclass; }; +/* Internal function to allocate item */ +int col_allocate_item(struct collection_item **ci, + const char *property, + const void *item_data, + int length, + int type); + #endif |