Mercurial > dropbear
comparison auth.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 | 9169e4e7cbee |
children | 06d52bcb8094 |
comparison
equal
deleted
inserted
replaced
1294:56aba7dedbea | 1295:750ec4ec4cbe |
---|---|
39 void send_msg_userauth_banner(buffer *msg); | 39 void send_msg_userauth_banner(buffer *msg); |
40 void svr_auth_password(void); | 40 void svr_auth_password(void); |
41 void svr_auth_pubkey(void); | 41 void svr_auth_pubkey(void); |
42 void svr_auth_pam(void); | 42 void svr_auth_pam(void); |
43 | 43 |
44 #ifdef ENABLE_SVR_PUBKEY_OPTIONS | 44 #if DROPBEAR_SVR_PUBKEY_OPTIONS_BUILT |
45 int svr_pubkey_allows_agentfwd(void); | 45 int svr_pubkey_allows_agentfwd(void); |
46 int svr_pubkey_allows_tcpfwd(void); | 46 int svr_pubkey_allows_tcpfwd(void); |
47 int svr_pubkey_allows_x11fwd(void); | 47 int svr_pubkey_allows_x11fwd(void); |
48 int svr_pubkey_allows_pty(void); | 48 int svr_pubkey_allows_pty(void); |
49 void svr_pubkey_set_forced_command(struct ChanSess *chansess); | 49 void svr_pubkey_set_forced_command(struct ChanSess *chansess); |
117 gid_t pw_gid; | 117 gid_t pw_gid; |
118 char *pw_dir; | 118 char *pw_dir; |
119 char *pw_shell; | 119 char *pw_shell; |
120 char *pw_name; | 120 char *pw_name; |
121 char *pw_passwd; | 121 char *pw_passwd; |
122 #ifdef ENABLE_SVR_PUBKEY_OPTIONS | 122 #if DROPBEAR_SVR_PUBKEY_OPTIONS_BUILT |
123 struct PubKeyOptions* pubkey_options; | 123 struct PubKeyOptions* pubkey_options; |
124 #endif | 124 #endif |
125 }; | 125 }; |
126 | 126 |
127 #ifdef ENABLE_SVR_PUBKEY_OPTIONS | 127 #if DROPBEAR_SVR_PUBKEY_OPTIONS_BUILT |
128 struct PubKeyOptions; | 128 struct PubKeyOptions; |
129 struct PubKeyOptions { | 129 struct PubKeyOptions { |
130 /* Flags */ | 130 /* Flags */ |
131 int no_port_forwarding_flag; | 131 int no_port_forwarding_flag; |
132 int no_agent_forwarding_flag; | 132 int no_agent_forwarding_flag; |