diff options
author | Matt Johnston <matt@ucc.asn.au> | 2009-07-30 15:14:33 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2009-07-30 15:14:33 +0000 |
commit | bb8234c2f12998b6cd9590f7dddd08d1871a5d1f (patch) | |
tree | 8860f704799ceb21d00a5ee830f94d1a7117e74e /agentfwd.h | |
parent | bacd2a8c795f49822146c1eea0d66c2438c26d7f (diff) |
Agent forwarding works
--HG--
branch : agent-client
extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
Diffstat (limited to 'agentfwd.h')
-rw-r--r-- | agentfwd.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -35,14 +35,16 @@ * 10000 is arbitrary */ #define MAX_AGENT_REPLY 10000 -int agentreq(struct ChanSess * chansess); -void agentcleanup(struct ChanSess * chansess); -void agentset(struct ChanSess *chansess); +int svr_agentreq(struct ChanSess * chansess); +void svr_agentcleanup(struct ChanSess * chansess); +void svr_agentset(struct ChanSess *chansess); /* client functions */ -void load_agent_keys(m_list * ret_list); +void cli_load_agent_keys(m_list * ret_list); void agent_buf_sign(buffer *sigblob, sign_key *key, const unsigned char *data, unsigned int len); +void cli_setup_agent(struct Channel *channel); + #ifdef __hpux #define seteuid(a) setresuid(-1, (a), -1) |