Mercurial > dropbear
comparison agentfwd.h @ 1295:750ec4ec4cbe
Convert #ifdef to #if, other build changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 04 May 2016 15:33:40 +0200 |
parents | deed0571cacc |
children | 06d52bcb8094 |
comparison
equal
deleted
inserted
replaced
1294:56aba7dedbea | 1295:750ec4ec4cbe |
---|---|
28 #include "chansession.h" | 28 #include "chansession.h" |
29 #include "channel.h" | 29 #include "channel.h" |
30 #include "auth.h" | 30 #include "auth.h" |
31 #include "list.h" | 31 #include "list.h" |
32 | 32 |
33 #ifdef ENABLE_CLI_AGENTFWD | 33 #if DROPBEAR_CLI_AGENTFWD |
34 | 34 |
35 /* An agent reply can be reasonably large, as it can | 35 /* An agent reply can be reasonably large, as it can |
36 * contain a list of all public keys held by the agent. | 36 * contain a list of all public keys held by the agent. |
37 * 10000 is arbitrary */ | 37 * 10000 is arbitrary */ |
38 #define MAX_AGENT_REPLY 10000 | 38 #define MAX_AGENT_REPLY 10000 |
48 #define setegid(a) setresgid(-1, (a), -1) | 48 #define setegid(a) setresgid(-1, (a), -1) |
49 #endif | 49 #endif |
50 | 50 |
51 extern const struct ChanType cli_chan_agent; | 51 extern const struct ChanType cli_chan_agent; |
52 | 52 |
53 #endif /* ENABLE_CLI_AGENTFWD */ | 53 #endif /* DROPBEAR_CLI_AGENTFWD */ |
54 | 54 |
55 #ifdef ENABLE_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(struct ChanSess *chansess); |
60 | 60 |
61 #endif /* ENABLE_SVR_AGENTFWD */ | 61 #endif /* DROPBEAR_SVR_AGENTFWD */ |
62 | 62 |
63 #endif /* DROPBEAR_AGENTFWD_H_ */ | 63 #endif /* DROPBEAR_AGENTFWD_H_ */ |