diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-07-18 14:32:52 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-07-18 14:32:52 +0000 |
commit | e444f0cfe67c71d3f38854f27cefae9aea6c4cd9 (patch) | |
tree | 7539060f852ea180fe550525412f7345a464adba /agentfwd.h | |
parent | b8e28df43a1d37b5a50b34db357daea98c42a89c (diff) |
- progress towards client agent forwarding
(incomplete and does not compile)
--HG--
branch : agent-client
extra : convert_revision : 01038174ec27245b51bd43a66c01ad930880f67b
Diffstat (limited to 'agentfwd.h')
-rw-r--r-- | agentfwd.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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_ */ |