diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-29 13:20:51 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-29 16:38:15 +1000 |
commit | 93ace5cc2484b53fc33d4689ccc286defbe2b728 (patch) | |
tree | 8d1ccae212c54bc149fa6772c8ddaf0c0bb1c4c5 /lib/util/util.h | |
parent | 9a9124b08760a6235059f517b9a138337754cd02 (diff) | |
download | samba-93ace5cc2484b53fc33d4689ccc286defbe2b728.tar.gz samba-93ace5cc2484b53fc33d4689ccc286defbe2b728.tar.bz2 samba-93ace5cc2484b53fc33d4689ccc286defbe2b728.zip |
lib/util Re-merge the string_sub() and all_string_sub() from source3
Andrew Bartlett
Diffstat (limited to 'lib/util/util.h')
-rw-r--r-- | lib/util/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/util.h b/lib/util/util.h index 45779912f3..8bbaa0e393 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -284,6 +284,8 @@ _PUBLIC_ char *hex_encode_talloc(TALLOC_CTX *mem_ctx, const unsigned char *buff_ **/ _PUBLIC_ void string_sub(char *s,const char *pattern, const char *insert, size_t len); +_PUBLIC_ void string_sub_once(char *s, const char *pattern, + const char *insert, size_t len); _PUBLIC_ char *string_sub_talloc(TALLOC_CTX *mem_ctx, const char *s, const char *pattern, const char *insert); |