aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-09-29 12:11:43 +0200
committerAndreas Schneider <asn@cynapses.org>2010-09-29 12:11:43 +0200
commit1b471256d4371f4789da6fa345ead4015623abbe (patch)
tree0c30c95f95c0f71073ee65925aa41a2877d43cfd /include
parent30e22fed6e6bdab222977a2e385defed1f2d0d62 (diff)
downloadlibssh-1b471256d4371f4789da6fa345ead4015623abbe.tar.gz
libssh-1b471256d4371f4789da6fa345ead4015623abbe.tar.xz
libssh-1b471256d4371f4789da6fa345ead4015623abbe.zip
misc: Differentiate between client and server in ssh_analyze_banner.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/misc.h b/include/libssh/misc.h
index 28e67610..a2f0239a 100644
--- a/include/libssh/misc.h
+++ b/include/libssh/misc.h
@@ -30,7 +30,7 @@ int ssh_file_readaccess_ok(const char *file);
char *ssh_path_expand_tilde(const char *d);
char *ssh_path_expand_escape(ssh_session session, const char *s);
-int ssh_analyze_banner(ssh_session session, int *ssh1, int *ssh2);
+int ssh_analyze_banner(ssh_session session, int server, int *ssh1, int *ssh2);
/* macro for byte ordering */
uint64_t ntohll(uint64_t);