aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-10-17 18:10:42 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-10-17 18:10:42 +0200
commit27d25752e93c19d3e6584915bd64b72e43f3afc0 (patch)
tree71a2bdb816c7f885a3d4a21e264f9f7d1bb49fa3 /include
parenta479b302983aae2878af0cb50eac141ede6cd942 (diff)
downloadlibssh-27d25752e93c19d3e6584915bd64b72e43f3afc0.tar.gz
libssh-27d25752e93c19d3e6584915bd64b72e43f3afc0.tar.xz
libssh-27d25752e93c19d3e6584915bd64b72e43f3afc0.zip
Allow use of SSH_DIR/ when expanding key paths
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 764b022..7605fd5 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -215,6 +215,10 @@ int match_hostname(const char *host, const char *pattern, unsigned int len);
#define leave_function() (void)session
#endif
+/* options.c */
+
+char *dir_expand_dup(ssh_session session, const char *value, int allowsshdir);
+
/** Free memory space */
#define SAFE_FREE(x) do { if ((x) != NULL) {free(x); x=NULL;} } while(0)