From 416a2bf4a43576bb0f16f36a72b12359836cf2f3 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 30 Jul 2009 15:14:33 +0000 Subject: Agent forwarding works --- agentfwd.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'agentfwd.h') diff --git a/agentfwd.h b/agentfwd.h index e1794a7..e982460 100644 --- a/agentfwd.h +++ b/agentfwd.h @@ -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) -- cgit v1.2.1