aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-08-21 10:16:36 +0200
committerAndreas Schneider <mail@cynapses.org>2009-08-21 10:16:36 +0200
commit0b10493e900cca26ee07d68a3c3f35b467364be5 (patch)
treef2447e032098c2e083bd09903915f93e2f567f30 /include
parentd23e64fc5211bc30ca7a34ac8ca98069a838c23f (diff)
downloadlibssh-0b10493e900cca26ee07d68a3c3f35b467364be5.tar.gz
libssh-0b10493e900cca26ee07d68a3c3f35b467364be5.tar.xz
libssh-0b10493e900cca26ee07d68a3c3f35b467364be5.zip
Added ssh_basename() and ssh_dirname().
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 6daf02a..faee16b 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -443,6 +443,10 @@ LIBSSH_API int ssh_userauth_kbdint_setanswer(SSH_SESSION *session, unsigned int
LIBSSH_API int ssh_init(void);
LIBSSH_API int ssh_finalize(void);
+/* misc.c */
+char *ssh_dirname (const char *path);
+char *ssh_basename (const char *path);
+
/* messages.c */
typedef struct ssh_message SSH_MESSAGE;