summaryrefslogtreecommitdiffhomepage
path: root/agentfwd.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-07-01 04:53:17 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-07-01 04:53:17 +0000
commitc6582dbe370705270e6164ff8212dbdddafd9250 (patch)
tree16995bf01183b34461fd95df3f96000a5d3f2547 /agentfwd.h
parent709a3e75cfb242c1b7165e599a4ccc54198967ca (diff)
Make it compile, update for changes in channel structure.
--HG-- branch : agent-client extra : convert_revision : 84676a98a0848224078a716b1292744a34e9d80c
Diffstat (limited to 'agentfwd.h')
-rw-r--r--agentfwd.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/agentfwd.h b/agentfwd.h
index 3684455..5928220 100644
--- a/agentfwd.h
+++ b/agentfwd.h
@@ -23,11 +23,11 @@
* SOFTWARE. */
#ifndef _AGENTFWD_H_
#define _AGENTFWD_H_
-#ifndef DISABLE_AGENTFWD
#include "includes.h"
#include "chansession.h"
#include "channel.h"
+#include "auth.h"
/* An agent reply can be reasonably large, as it can
* contain a list of all public keys held by the agent.
@@ -39,14 +39,13 @@ void agentsetauth(struct ChanSess *chansess);
void agentcleanup(struct ChanSess * chansess);
void agentset(struct ChanSess *chansess);
-SignKeyList * load_agent_keys();
+void load_agent_keys();
#ifdef __hpux
#define seteuid(a) setresuid(-1, (a), -1)
#define setegid(a) setresgid(-1, (a), -1)
#endif
-extern const struct ChanSess chan_cli_agent;
+extern const struct ChanType cli_chan_agent;
-#endif /* DROPBEAR_AGENTFWD */
#endif /* _AGENTFWD_H_ */