summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 4ea7430b..114b9931 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -186,6 +186,13 @@ enum ssh_channel_requests_e {
SSH_CHANNEL_REQUEST_WINDOW_CHANGE,
};
+enum ssh_publickey_state_e {
+ SSH_PUBLICKEY_STATE_ERROR=-1,
+ SSH_PUBLICKEY_STATE_NONE=0,
+ SSH_PUBLICKEY_STATE_VALID=1,
+ SSH_PUBLICKEY_STATE_WRONG=2
+};
+
/* status flags */
#define SSH_CLOSED 0x01
#define SSH_READ_PENDING 0x02