comparison auth.h @ 1461:fb90a5ba84e0

Merge pull request #49 from fperrad/20170812_lint Some linting, const parameters
author Matt Johnston <matt@ucc.asn.au>
date Thu, 25 Jan 2018 21:55:25 +0800
parents 06d52bcb8094
children 51df3d53b050
comparison
equal deleted inserted replaced
1454:ef310db5ccec 1461:fb90a5ba84e0
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