aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-12-10 18:29:18 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-20 14:35:18 +0100
commit35216e7254d76bdf5b03ae79ba10e4d3dbf74256 (patch)
tree90d00cd7e2c0ad40fd28694d0f769f8cdb1a1249 /include
parent5317ebf0fcf927e45a4c7a8c322357179dd87f2f (diff)
downloadlibssh-35216e7254d76bdf5b03ae79ba10e4d3dbf74256.tar.gz
libssh-35216e7254d76bdf5b03ae79ba10e4d3dbf74256.tar.xz
libssh-35216e7254d76bdf5b03ae79ba10e4d3dbf74256.zip
misc: Add ssh_strreplace()
Pair-Programmed-With: Sahana Prasad <sahana@redhat.com> Signed-Off-by: Sahana Prasad <sahana@redhat.com> Signed-Off-By: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/misc.h b/include/libssh/misc.h
index 4c25a54a..efac4445 100644
--- a/include/libssh/misc.h
+++ b/include/libssh/misc.h
@@ -98,4 +98,5 @@ int ssh_quote_file_name(const char *file_name, char *buf, size_t buf_len);
int ssh_newline_vis(const char *string, char *buf, size_t buf_len);
int ssh_tmpname(char *template);
+char *ssh_strreplace(char *src, const char *pattern, const char *repl);
#endif /* MISC_H_ */