summaryrefslogtreecommitdiffstats
path: root/libssh/agent.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 21:55:54 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 21:55:54 +0200
commit9a8d4cd0fdd18127065cacbc11296933669ea9ca (patch)
treecccf507167e28aa5038cea357d1f220668a4e937 /libssh/agent.c
parentffed8b03bb6e170abbd9564547ba439302840618 (diff)
downloadlibssh-9a8d4cd0fdd18127065cacbc11296933669ea9ca.tar.gz
libssh-9a8d4cd0fdd18127065cacbc11296933669ea9ca.tar.xz
libssh-9a8d4cd0fdd18127065cacbc11296933669ea9ca.zip
get rid of SSH_SESSION
Diffstat (limited to 'libssh/agent.c')
-rw-r--r--libssh/agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/agent.c b/libssh/agent.c
index 3a8954eb..81233c14 100644
--- a/libssh/agent.c
+++ b/libssh/agent.c
@@ -160,7 +160,7 @@ void agent_free(ssh_agent agent) {
}
}
-static int agent_connect(SSH_SESSION *session) {
+static int agent_connect(ssh_session session) {
const char *auth_sock = NULL;
if (session == NULL || session->agent == NULL) {
@@ -475,7 +475,7 @@ error:
return NULL;
}
-int agent_is_running(SSH_SESSION *session) {
+int agent_is_running(ssh_session session) {
if (session == NULL || session->agent == NULL) {
return 0;
}