summaryrefslogtreecommitdiff
path: root/lib/util/substitute.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/util: Use charset_compat.h if SAMBA_UTIL_CORE_ONLYMartin Schwenke2014-10-041-0/+4
| | | | | | | | | | | | | | | | | When doing a CTDB standalone build we don't want to use dynconfig, since this introduces a lot of unwanted complexity. To avoid this, either: * charset needs to be nobbled to avoid loading the case tables, since this depends on dynconfig; or * charset needs to be avoid completely, so some functions need to be replaced with their ASCII counterparts. The 2nd options seems more honest and less error-prone. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Jeremy Allison <jra@samba.org>
* lib/util: Clean up includes for substitute.cMartin Schwenke2014-10-041-1/+4
| | | | | | | | Add substitute.h. Allows standalone compiles without external includes.h. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Jeremy Allison <jra@samba.org>
* lib/util: Replace an SMB_ASSERT()Martin Schwenke2014-10-041-1/+5
| | | | | | | Avoid a cyclic dependency. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Jeremy Allison <jra@samba.org>
* lib/util Re-merge the string_sub() and all_string_sub() from source3Andrew Bartlett2011-04-291-13/+42
| | | | Andrew Bartlett
* util_str: setup the correct talloc name for stringsStefan Metzmacher2009-01-191-0/+2
| | | | | metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
* Move substitute functions to a different file.Jelmer Vernooij2008-10-181-0/+165