diff options
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index ad3b8b1..d2e6219 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -82,6 +82,7 @@ typedef struct channel_struct CHANNEL; typedef struct agent_struct AGENT; typedef struct ssh_session SSH_SESSION; typedef struct ssh_kbdint SSH_KBDINT; +struct keys_struct; /* integer values */ typedef uint32_t u32; @@ -255,8 +256,9 @@ PUBLIC_KEY *publickey_from_privatekey(PRIVATE_KEY *prv); void privatekey_free(PRIVATE_KEY *prv); STRING *publickey_from_file(SSH_SESSION *session, const char *filename, int *type); -STRING *publickey_from_next_file(SSH_SESSION *session, const char **pub_keys_path, - const char **keys_path, char **privkeyfile, int *type, int *count); +STRING *publickey_from_next_file(SSH_SESSION *session, + struct keys_struct *keytab, size_t keytab_size, + char **privkeyfile, int *type, unsigned int *count); int ssh_is_server_known(SSH_SESSION *session); int ssh_write_knownhost(SSH_SESSION *session); |