aboutsummaryrefslogtreecommitdiff
path: root/libssh/string.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2005-08-29 23:34:32 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2005-08-29 23:34:32 +0000
commita8b5d63e14af539ea417f4752850ff300055a0ad (patch)
treea1c46ccee268fc94dae897910fabd18fc7541cf2 /libssh/string.c
parented62d1fb533626ac2b245086197856e709e79ffb (diff)
downloadlibssh-a8b5d63e14af539ea417f4752850ff300055a0ad.tar.gz
libssh-a8b5d63e14af539ea417f4752850ff300055a0ad.tar.xz
libssh-a8b5d63e14af539ea417f4752850ff300055a0ad.zip
write support
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@30 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/string.c')
-rw-r--r--libssh/string.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh/string.c b/libssh/string.c
index 1ae5bd2d..2f14c141 100644
--- a/libssh/string.c
+++ b/libssh/string.c
@@ -68,3 +68,6 @@ void string_burn(STRING *s){
memset(s->string,'X',string_len(s));
}
+void *string_data(STRING *s){
+ return s->string;
+}