summaryrefslogtreecommitdiff
path: root/lib/util/util_strlist.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-01util/util_strlist - add a call "const_str_list" for making "unconst" lists ↵Matthias Dieter Wallnöfer1-0/+9
"const"
2009-11-20util/strlist: Fix up "const" warnings in the string list and test codeMatthias Dieter Wallnöfer1-1/+2
This work I did using suggestions by Jelmer. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-13util: str_list_unique() bugfixKamen Mazdrashki1-1/+1
j is actually the index of the last element in the list size of the list though is j+1 <- to make room for the terminating NULL element
2009-09-24Remove the const from the str_list_XXX functions thatJeremy Allison1-19/+19
allocate both list and containing strings. This fixes problems that people have tried to cast away and are not needed. Jeremy.
2009-09-10util_strlist: Add some more "const"s - small correctionMatthias Dieter Wallnöfer1-1/+1
2009-09-10util_strlist: Add some more "const"sMatthias Dieter Wallnöfer1-17/+19
2009-05-14Remove two unused variablesVolker Lendecke1-2/+0
2009-05-14Add new functions and tests: str_list_make_empty(), str_list_make_single()Andrew Bartlett1-0/+41
2009-05-03Clean up after Tridge's util_strlist changesVolker Lendecke1-18/+21
2009-04-09added _const versions of some of the str_list_*() functionsAndrew Tridgell1-0/+64
These const versions don't copy the strings themselves, which is useful when those strings point at known constant data (into the schema in this case)
2009-04-09added str_list_unique() and str_list_show()Andrew Tridgell1-28/+49
I also undid some of the const changes from Andrew, as they didn't in fact resolve the const warnings.
2009-04-08Rework util_strlist prototypes to use a bit more and less constAndrew Bartlett1-7/+32
Hopefully this produces less warnings, but it might produce more... Andrew Bartlett
2009-04-07added a str_list_append() functionAndrew Tridgell1-0/+23
2008-10-12Add extra const.Jelmer Vernooij1-1/+1
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij1-8/+10
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-0/+308
Conflicts: source4/Makefile