summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 21:18:15 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 21:18:15 +0200
commit958a775afaf95837c78bfe3ef5941aaeede26ddc (patch)
tree95968abff65dd0013fe4d7c4585caf7365e3a881 /include/libssh
parente776dc16c958c71a83dffe06a85b5f98f3226e82 (diff)
downloadlibssh-958a775afaf95837c78bfe3ef5941aaeede26ddc.tar.gz
libssh-958a775afaf95837c78bfe3ef5941aaeede26ddc.tar.xz
libssh-958a775afaf95837c78bfe3ef5941aaeede26ddc.zip
replacing keys_struct with ssh_keys_struct
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libssh.h4
-rw-r--r--include/libssh/priv.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index d3ca82e4..043ae173 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -80,7 +80,7 @@ typedef struct ssh_channel_struct CHANNEL;
typedef struct ssh_agent_struct AGENT;
typedef struct ssh_session SSH_SESSION;
typedef struct ssh_kbdint SSH_KBDINT;
-struct keys_struct;
+struct ssh_keys_struct;
/* integer values */
typedef uint32_t u32;
@@ -258,7 +258,7 @@ void privatekey_free(PRIVATE_KEY *prv);
STRING *publickey_from_file(SSH_SESSION *session, const char *filename,
int *type);
STRING *try_publickey_from_file(SSH_SESSION *session,
- struct keys_struct keytab,
+ struct ssh_keys_struct keytab,
char **privkeyfile, int *type);
int ssh_is_server_known(SSH_SESSION *session);
int ssh_write_knownhost(SSH_SESSION *session);
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 66b0e831..46c13d81 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -324,7 +324,7 @@ struct ssh_agent_struct {
unsigned int count;
};
-struct keys_struct {
+struct ssh_keys_struct {
const char *privatekey;
const char *publickey;
};