summaryrefslogtreecommitdiff
path: root/agentfwd.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-07-18 14:32:52 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-07-18 14:32:52 +0000
commitbfbe624301cb1dc0eef9dc00c235edb339e98082 (patch)
tree7539060f852ea180fe550525412f7345a464adba /agentfwd.h
parent03f634b8a8c00e58528fab21718df514a60d8829 (diff)
downloaddropbear-bfbe624301cb1dc0eef9dc00c235edb339e98082.tar.gz
- progress towards client agent forwarding
(incomplete and does not compile)
Diffstat (limited to 'agentfwd.h')
-rw-r--r--agentfwd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/agentfwd.h b/agentfwd.h
index a0f675d..3684455 100644
--- a/agentfwd.h
+++ b/agentfwd.h
@@ -29,15 +29,24 @@
#include "chansession.h"
#include "channel.h"
+/* An agent reply can be reasonably large, as it can
+ * contain a list of all public keys held by the agent.
+ * 10000 is arbitrary */
+#define MAX_AGENT_REPLY 10000
+
int agentreq(struct ChanSess * chansess);
void agentsetauth(struct ChanSess *chansess);
void agentcleanup(struct ChanSess * chansess);
void agentset(struct ChanSess *chansess);
+SignKeyList * 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;
+
#endif /* DROPBEAR_AGENTFWD */
#endif /* _AGENTFWD_H_ */