Mercurial > dropbear
diff agentfwd.h @ 547:cf376c696dfc agent-client
Make it compile, update for changes in channel structure.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 01 Jul 2009 04:53:17 +0000 |
parents | ca7e76d981d9 |
children | 61c3513825b0 |
line wrap: on
line diff
--- a/agentfwd.h Wed Jul 01 04:16:32 2009 +0000 +++ b/agentfwd.h Wed Jul 01 04:53:17 2009 +0000 @@ -23,11 +23,11 @@ * SOFTWARE. */ #ifndef _AGENTFWD_H_ #define _AGENTFWD_H_ -#ifndef DISABLE_AGENTFWD #include "includes.h" #include "chansession.h" #include "channel.h" +#include "auth.h" /* An agent reply can be reasonably large, as it can * contain a list of all public keys held by the agent. @@ -39,14 +39,13 @@ void agentcleanup(struct ChanSess * chansess); void agentset(struct ChanSess *chansess); -SignKeyList * load_agent_keys(); +void 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; +extern const struct ChanType cli_chan_agent; -#endif /* DROPBEAR_AGENTFWD */ #endif /* _AGENTFWD_H_ */