aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-05-10 22:47:00 +0200
committerAndreas Schneider <mail@cynapses.org>2010-05-11 02:10:55 +0200
commit4df7daec82eeae4d492a34c0d8c37e186e65fd77 (patch)
tree33d10a9c1af0c1ccbd8078941098c13696e6c5d0 /include
parent26d04ff0373a749bc66b6bf2c10a4a2b5c35fd75 (diff)
downloadlibssh-4df7daec82eeae4d492a34c0d8c37e186e65fd77.tar.gz
libssh-4df7daec82eeae4d492a34c0d8c37e186e65fd77.tar.xz
libssh-4df7daec82eeae4d492a34c0d8c37e186e65fd77.zip
Added a function to expand the tilde from a path.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/misc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/misc.h b/include/libssh/misc.h
index 6d7aed96..05c6d493 100644
--- a/include/libssh/misc.h
+++ b/include/libssh/misc.h
@@ -28,6 +28,8 @@ char *ssh_get_user_home_dir(void);
char *ssh_get_local_username(ssh_session session);
int ssh_file_readaccess_ok(const char *file);
+char *ssh_path_expand_tilde(const char *d);
+
/* macro for byte ordering */
uint64_t ntohll(uint64_t);
#define htonll(x) ntohll(x)