From 9f4f16b55d7df262774aee227933347e0ae3846e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 6 Nov 2000 22:53:50 +0000 Subject: new getpass proto and function pointer usage --- lib/getpass.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/getpass.h') diff --git a/lib/getpass.h b/lib/getpass.h index 91abe2214..1248030ee 100644 --- a/lib/getpass.h +++ b/lib/getpass.h @@ -1 +1,8 @@ -void my_getpass(const char *prompt, char* buffer, int buflen ); +#ifndef __GETPASS_H +#define __GETPASS_H +/* + * Returning non-zero will abort the continued operation! + */ +int my_getpass(void *client, char *prompt, char* buffer, int buflen ); + +#endif -- cgit v1.2.3