summaryrefslogtreecommitdiffstats
path: root/lib/util/util_str.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/util: Remove unused str_format_nbt_domain()Andrew Bartlett2012-02-101-35/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* I added them, so I get to kill them :-). Finally remove all uses of ↵Jeremy Allison2011-05-041-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
* lib/util Use lib/util/util_str.c in common, including strequal()Andrew Bartlett2011-05-031-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
* lib/util Use compiler-checked safe string macros in top level code.Andrew Bartlett2011-05-031-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
* lib/util Rename conv_str_size() -> conv_str_size_error()Andrew Bartlett2011-04-301-1/+1
|
* lib/util: Make string_replace from s3 commonAndrew Bartlett2011-04-131-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>
* lib/util ucs2_align is identical, put it in commonAndrew Bartlett2011-04-131-7/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util Move simple string routines into common code.Andrew Bartlett2011-04-131-54/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util Move base64 functions into lib/util/base64.cAndrew Bartlett2011-03-301-2/+0
| | | | Andrew Bartlett
* s4-util: removed the valgrind_strlen() routineAndrew Tridgell2011-02-181-11/+0
| | | | | | this was for a bug in valgrind from 7 years ago. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Change uint_t to unsigned int in lib/utilMatt Kraai2010-02-021-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* util_str: setup the correct talloc name for stringsStefan Metzmacher2009-01-191-0/+2
| | | | | metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
* Move more functions out of util_str.c into the shared util.c.Jelmer Vernooij2008-10-191-299/+20
|
* Move SMB-specific attribute function to SMB client library.Jelmer Vernooij2008-10-191-46/+2
|
* lib/util: fix strhex_to_data_blob to use data_blob_talloc.Günther Deschner2008-10-181-1/+1
| | | | | | Jelmer, I'm pretty sure you wanted to do this. Please check. Guenther
* Add extra parameter consistent with samba3.Jelmer Vernooij2008-10-181-5/+9
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-10-181-138/+0
|\
| * Move substitute functions to a different file.Jelmer Vernooij2008-10-181-138/+0
| |
* | Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij2008-10-181-2/+2
|/ | | | 3.
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-0/+790
Conflicts: source4/Makefile