aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-05-01 20:32:27 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-05-01 20:32:27 +0200
commit430e570629d663efdf550ea4f9669a1fc0bb40f9 (patch)
treeaae89ca427480fbd900eea77ff4fdf88c849da1a /include
parent65dc4f1186a20718046471d1d5339afff3ec7933 (diff)
downloadlibssh-430e570629d663efdf550ea4f9669a1fc0bb40f9.tar.gz
libssh-430e570629d663efdf550ea4f9669a1fc0bb40f9.tar.xz
libssh-430e570629d663efdf550ea4f9669a1fc0bb40f9.zip
Added pki.[ch] files as a new standard API for PKs
Right now it's just a wrapper to the existing calls but soon it's gona be the effective implementation and other calls will be wrappers.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 54c43ff..0b9d5a4 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -113,6 +113,7 @@ typedef struct ssh_message_struct* ssh_message;
typedef struct ssh_pcap_file_struct* ssh_pcap_file;
typedef struct ssh_private_key_struct* ssh_private_key;
typedef struct ssh_public_key_struct* ssh_public_key;
+typedef struct ssh_key_struct* ssh_key;
typedef struct ssh_scp_struct* ssh_scp;
typedef struct ssh_session_struct* ssh_session;
typedef struct ssh_string_struct* ssh_string;
@@ -405,7 +406,7 @@ LIBSSH_API void ssh_pcap_file_free(ssh_pcap_file pcap);
LIBSSH_API ssh_pcap_file ssh_pcap_file_new(void);
LIBSSH_API int ssh_pcap_file_open(ssh_pcap_file pcap, const char *filename);
-LIBSSH_API int ssh_privatekey_type(ssh_private_key privatekey);
+LIBSSH_API enum ssh_keytypes_e ssh_privatekey_type(ssh_private_key privatekey);
LIBSSH_API void ssh_print_hexa(const char *descr, const unsigned char *what, size_t len);
LIBSSH_API int ssh_scp_accept_request(ssh_scp scp);