From 50ebbe636ee45b5d82d33b29e1146477ccbcc849 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sun, 12 Jul 2009 23:13:21 +0200 Subject: Added return code SSH_SERVER_FILE_NOT_FOUND This error is returned by ssh_is_server_known when known_hosts file does not exist and gives more action to the developer. --- include/libssh/libssh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 0514095a..ad1038c8 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -134,6 +134,7 @@ typedef int socket_t; #define SSH_SERVER_KNOWN_OK 1 #define SSH_SERVER_KNOWN_CHANGED 2 #define SSH_SERVER_FOUND_OTHER 3 +#define SSH_SERVER_FILE_NOT_FOUND 4 #ifndef MD5_DIGEST_LEN #define MD5_DIGEST_LEN 16 -- cgit