Mercurial > dropbear
comparison auth.h @ 334:8f3ec7c104d9
Make the dbclient password prompt more useful
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 12 Jun 2006 14:41:32 +0000 |
parents | 475a818dd6e7 |
children | c1e9c81d1d27 4317be8b7cf9 |
comparison
equal
deleted
inserted
replaced
333:9341570412e5 | 334:8f3ec7c104d9 |
---|---|
50 void recv_msg_userauth_banner(); | 50 void recv_msg_userauth_banner(); |
51 void cli_pubkeyfail(); | 51 void cli_pubkeyfail(); |
52 void cli_auth_password(); | 52 void cli_auth_password(); |
53 int cli_auth_pubkey(); | 53 int cli_auth_pubkey(); |
54 void cli_auth_interactive(); | 54 void cli_auth_interactive(); |
55 char* getpass_or_cancel(); | 55 char* getpass_or_cancel(char* prompt); |
56 | 56 |
57 | 57 |
58 #define MAX_USERNAME_LEN 25 /* arbitrary for the moment */ | 58 #define MAX_USERNAME_LEN 25 /* arbitrary for the moment */ |
59 | 59 |
60 #define AUTH_TYPE_NONE 1 | 60 #define AUTH_TYPE_NONE 1 |