Mercurial > dropbear
comparison agentfwd.h @ 1511:5916af64acd4 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 17 Feb 2018 19:29:51 +0800 |
parents | 06d52bcb8094 |
children | a53e7d2d60be |
comparison
equal
deleted
inserted
replaced
1457:32f990cc96b1 | 1511:5916af64acd4 |
---|---|
38 #define MAX_AGENT_REPLY 10000 | 38 #define MAX_AGENT_REPLY 10000 |
39 | 39 |
40 /* client functions */ | 40 /* client functions */ |
41 void cli_load_agent_keys(m_list * ret_list); | 41 void cli_load_agent_keys(m_list * ret_list); |
42 void agent_buf_sign(buffer *sigblob, sign_key *key, | 42 void agent_buf_sign(buffer *sigblob, sign_key *key, |
43 buffer *data_buf); | 43 const buffer *data_buf); |
44 void cli_setup_agent(struct Channel *channel); | 44 void cli_setup_agent(const struct Channel *channel); |
45 | 45 |
46 #ifdef __hpux | 46 #ifdef __hpux |
47 #define seteuid(a) setresuid(-1, (a), -1) | 47 #define seteuid(a) setresuid(-1, (a), -1) |
48 #define setegid(a) setresgid(-1, (a), -1) | 48 #define setegid(a) setresgid(-1, (a), -1) |
49 #endif | 49 #endif |
54 | 54 |
55 #if DROPBEAR_SVR_AGENTFWD | 55 #if DROPBEAR_SVR_AGENTFWD |
56 | 56 |
57 int svr_agentreq(struct ChanSess * chansess); | 57 int svr_agentreq(struct ChanSess * chansess); |
58 void svr_agentcleanup(struct ChanSess * chansess); | 58 void svr_agentcleanup(struct ChanSess * chansess); |
59 void svr_agentset(struct ChanSess *chansess); | 59 void svr_agentset(const struct ChanSess *chansess); |
60 | 60 |
61 #endif /* DROPBEAR_SVR_AGENTFWD */ | 61 #endif /* DROPBEAR_SVR_AGENTFWD */ |
62 | 62 |
63 #endif /* DROPBEAR_AGENTFWD_H_ */ | 63 #endif /* DROPBEAR_AGENTFWD_H_ */ |