diff options
| author | Andreas Schneider <mail@cynapses.org> | 2010-05-10 22:47:00 +0200 |
|---|---|---|
| committer | Andreas Schneider <mail@cynapses.org> | 2010-05-11 09:44:13 +0200 |
| commit | 07e8d8f1f25518bae8789534e3bdff90e116a774 (patch) | |
| tree | d5dee8dec954d85da9ff1dce2b1617bdd9b3e901 /include | |
| parent | 34a927716a37a533719c3473dd0007be35307883 (diff) | |
| download | libssh-07e8d8f1f25518bae8789534e3bdff90e116a774.tar.gz libssh-07e8d8f1f25518bae8789534e3bdff90e116a774.tar.xz libssh-07e8d8f1f25518bae8789534e3bdff90e116a774.zip | |
Added a function to expand the tilde from a path.
Diffstat (limited to 'include')
| -rw-r--r-- | include/libssh/misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/misc.h b/include/libssh/misc.h index 666b0782..0150cf61 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) |
