summaryrefslogtreecommitdiff
path: root/lib/util/util_str.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-10lib/util: Remove unused str_format_nbt_domain()Andrew Bartlett1-35/+0
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2011-05-04I added them, so I get to kill them :-). Finally remove all uses of ↵Jeremy Allison1-71/+0
safe_strcpy and safe_strcat. Change to strlcpy, strlcat. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 22:14:14 CEST 2011 on sn-devel-104
2011-05-03lib/util Use lib/util/util_str.c in common, including strequal()Andrew Bartlett1-1/+1
strequal() is now implemented in terms of strcasecmp_m() which is tested in smbtorture and which does not talloc() for ASCII or non-ASCII comparions, and has an ASCII fast-path. Andrew Bartlett
2011-05-03lib/util Use compiler-checked safe string macros in top level code.Andrew Bartlett1-33/+23
This brings the 'safe' macros to the top level code, and removes duplication of the safe_strcpy() and safe_strcat() functions. Andrew Bartlett
2011-04-30lib/util Rename conv_str_size() -> conv_str_size_error()Andrew Bartlett1-1/+1
2011-04-13lib/util: Make string_replace from s3 commonAndrew Bartlett1-10/+0
The s4 implementation didn't do multibyte strings, so was only good for '/' which is known to be safe in all multibyte charsets. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util ucs2_align is identical, put it in commonAndrew Bartlett1-7/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util Move simple string routines into common code.Andrew Bartlett1-54/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-03-30lib/util Move base64 functions into lib/util/base64.cAndrew Bartlett1-2/+0
Andrew Bartlett
2011-02-18s4-util: removed the valgrind_strlen() routineAndrew Tridgell1-11/+0
this was for a bug in valgrind from 7 years ago. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-02Change uint_t to unsigned int in lib/utilMatt Kraai1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-19util_str: setup the correct talloc name for stringsStefan Metzmacher1-0/+2
metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
2008-10-19Move more functions out of util_str.c into the shared util.c.Jelmer Vernooij1-299/+20
2008-10-19Move SMB-specific attribute function to SMB client library.Jelmer Vernooij1-46/+2
2008-10-18lib/util: fix strhex_to_data_blob to use data_blob_talloc.Günther Deschner1-1/+1
Jelmer, I'm pretty sure you wanted to do this. Please check. Guenther
2008-10-18Add extra parameter consistent with samba3.Jelmer Vernooij1-5/+9
2008-10-18Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-138/+0
2008-10-18Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij1-2/+2
3.
2008-10-18Move substitute functions to a different file.Jelmer Vernooij1-138/+0
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-0/+790
Conflicts: source4/Makefile