diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-11-06 22:53:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-11-06 22:53:50 +0000 |
commit | 9f4f16b55d7df262774aee227933347e0ae3846e (patch) | |
tree | 26ebae60a02e272ec1fb8d2ead8dfc7559372fd5 /lib/getpass.h | |
parent | e05922c4285bf72b2246c9909703c7411f98163b (diff) |
new getpass proto and function pointer usage
Diffstat (limited to 'lib/getpass.h')
-rw-r--r-- | lib/getpass.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 |