summaryrefslogtreecommitdiffhomepage
path: root/agentfwd.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-07-30 15:14:33 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-07-30 15:14:33 +0000
commitbb8234c2f12998b6cd9590f7dddd08d1871a5d1f (patch)
tree8860f704799ceb21d00a5ee830f94d1a7117e74e /agentfwd.h
parentbacd2a8c795f49822146c1eea0d66c2438c26d7f (diff)
Agent forwarding works
--HG-- branch : agent-client extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
Diffstat (limited to 'agentfwd.h')
-rw-r--r--agentfwd.h10
1 files changed, 6 insertions, 4 deletions
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)