From 27d25752e93c19d3e6584915bd64b72e43f3afc0 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sat, 17 Oct 2009 18:10:42 +0200 Subject: Allow use of SSH_DIR/ when expanding key paths --- include/libssh/priv.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/libssh') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 764b0227..7605fd5b 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) -- cgit