diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-04-28 12:14:03 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-04-28 12:14:03 +0200 |
commit | 904c6ed853af02c4de5ad45356345c5b50e9f62f (patch) | |
tree | fec7f56b1000d8ebf8dacd1e9bb49da60fe2bf5c /include/libssh/libssh.h | |
parent | 186e07b415b1699be75961d306df369b537da855 (diff) | |
download | libssh-904c6ed853af02c4de5ad45356345c5b50e9f62f.tar.gz libssh-904c6ed853af02c4de5ad45356345c5b50e9f62f.tar.xz libssh-904c6ed853af02c4de5ad45356345c5b50e9f62f.zip |
Renamed private type TYPE_RSA to SSH_KEYTYPE_*
Also made this enum public
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 22a8e1ec..54c43ff0 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -219,6 +219,14 @@ enum ssh_error_types_e { SSH_EINTR }; +/* some types for keys */ +enum ssh_keytypes_e{ + SSH_KEYTYPE_UNKNOWN=0, + SSH_KEYTYPE_DSS=1, + SSH_KEYTYPE_RSA, + SSH_KEYTYPE_RSA1 +}; + /* Error return codes */ #define SSH_OK 0 /* No error */ #define SSH_ERROR -1 /* Error of some kind */ |