diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-01-15 06:43:24 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-01-15 06:43:24 +0000 |
commit | fd0f873a367b133fd41af34dc168bd594ee2928c (patch) | |
tree | 95cd089b6b5b7e07e9d8fdaa03dbfb5aa6fffab4 /auth.h | |
parent | d8e61e51ded9c7fb784d33f9939b9c40a967bc0f (diff) |
Cancel a dbclient password prompt if the user presses ctrl-c.
Enter still has to be pressed since glibc blocks ctrl-c in getpass()
--HG--
extra : convert_revision : 1c8128fba89431f2460dd5914f0614850d529b76
Diffstat (limited to 'auth.h')
-rw-r--r-- | auth.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -52,6 +52,7 @@ void cli_pubkeyfail(); void cli_auth_password(); int cli_auth_pubkey(); void cli_auth_interactive(); +char* getpass_or_cancel(); #define MAX_USERNAME_LEN 25 /* arbitrary for the moment */ |