1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-06 13:20:57 +03:00

misc: Differentiate between client and server in ssh_analyze_banner.

This commit is contained in:
Andreas Schneider
2010-09-29 12:11:43 +02:00
parent 30e22fed6e
commit 1b471256d4
4 changed files with 11 additions and 5 deletions

View File

@@ -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);