summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-23 03:36:10 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-23 03:36:10 +0000
commita3357ab49335106674fe7a7481cd0f146d74fbe5 (patch)
tree97d2148fce405a449f40426043e8fa23400a7f96 /source/include
parentbdcee2557bd243a1bfbde3353ebcfe3d82bf9fc5 (diff)
downloadsamba-a3357ab49335106674fe7a7481cd0f146d74fbe5.tar.gz
samba-a3357ab49335106674fe7a7481cd0f146d74fbe5.tar.xz
samba-a3357ab49335106674fe7a7481cd0f146d74fbe5.zip
changed string_sub() to replace " ; and ` in the inserted string with _
use all_string_sub() if you don't want this.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/include/proto.h b/source/include/proto.h
index 08476bdd8f7..c4baa8f7a50 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -415,7 +415,8 @@ BOOL in_list(char *s,char *list,BOOL casesensitive);
BOOL string_init(char **dest,const char *src);
void string_free(char **s);
BOOL string_set(char **dest,const char *src);
-BOOL string_sub(char *s,const char *pattern,const char *insert);
+void string_sub(char *s,const char *pattern,const char *insert);
+void all_string_sub(char *s,const char *pattern,const char *insert);
void split_at_last_component(char *path, char *front, char sep, char *back);
/*The following definitions come from lib/util_unistr.c */