comparison agentfwd.h @ 225:ca7e76d981d9 agent-client

- progress towards client agent forwarding (incomplete and does not compile)
author Matt Johnston <matt@ucc.asn.au>
date Mon, 18 Jul 2005 14:32:52 +0000
parents f76c9389e9e0
children cf376c696dfc
comparison
equal deleted inserted replaced
224:1dbd2473482f 225:ca7e76d981d9
27 27
28 #include "includes.h" 28 #include "includes.h"
29 #include "chansession.h" 29 #include "chansession.h"
30 #include "channel.h" 30 #include "channel.h"
31 31
32 /* An agent reply can be reasonably large, as it can
33 * contain a list of all public keys held by the agent.
34 * 10000 is arbitrary */
35 #define MAX_AGENT_REPLY 10000
36
32 int agentreq(struct ChanSess * chansess); 37 int agentreq(struct ChanSess * chansess);
33 void agentsetauth(struct ChanSess *chansess); 38 void agentsetauth(struct ChanSess *chansess);
34 void agentcleanup(struct ChanSess * chansess); 39 void agentcleanup(struct ChanSess * chansess);
35 void agentset(struct ChanSess *chansess); 40 void agentset(struct ChanSess *chansess);
41
42 SignKeyList * load_agent_keys();
36 43
37 #ifdef __hpux 44 #ifdef __hpux
38 #define seteuid(a) setresuid(-1, (a), -1) 45 #define seteuid(a) setresuid(-1, (a), -1)
39 #define setegid(a) setresgid(-1, (a), -1) 46 #define setegid(a) setresgid(-1, (a), -1)
40 #endif 47 #endif
41 48
49 extern const struct ChanSess chan_cli_agent;
50
42 #endif /* DROPBEAR_AGENTFWD */ 51 #endif /* DROPBEAR_AGENTFWD */
43 #endif /* _AGENTFWD_H_ */ 52 #endif /* _AGENTFWD_H_ */