comparison auth.h @ 1459:06d52bcb8094

Pointer parameter could be declared as pointing to const
author Francois Perrad <francois.perrad@gadz.org>
date Sat, 19 Aug 2017 17:16:13 +0200
parents 750ec4ec4cbe
children 51df3d53b050
comparison
equal deleted inserted replaced
1458:bdd3802c8ac6 1459:06d52bcb8094
34 34
35 /* Server functions */ 35 /* Server functions */
36 void recv_msg_userauth_request(void); 36 void recv_msg_userauth_request(void);
37 void send_msg_userauth_failure(int partial, int incrfail); 37 void send_msg_userauth_failure(int partial, int incrfail);
38 void send_msg_userauth_success(void); 38 void send_msg_userauth_success(void);
39 void send_msg_userauth_banner(buffer *msg); 39 void send_msg_userauth_banner(const 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 #if DROPBEAR_SVR_PUBKEY_OPTIONS_BUILT 44 #if DROPBEAR_SVR_PUBKEY_OPTIONS_BUILT
72 void recv_msg_userauth_banner(void); 72 void recv_msg_userauth_banner(void);
73 void cli_pubkeyfail(void); 73 void cli_pubkeyfail(void);
74 void cli_auth_password(void); 74 void cli_auth_password(void);
75 int cli_auth_pubkey(void); 75 int cli_auth_pubkey(void);
76 void cli_auth_interactive(void); 76 void cli_auth_interactive(void);
77 char* getpass_or_cancel(char* prompt); 77 char* getpass_or_cancel(const char* prompt);
78 void cli_auth_pubkey_cleanup(void); 78 void cli_auth_pubkey_cleanup(void);
79 79
80 80
81 #define MAX_USERNAME_LEN 25 /* arbitrary for the moment */ 81 #define MAX_USERNAME_LEN 25 /* arbitrary for the moment */
82 82