aboutsummaryrefslogtreecommitdiff
path: root/lib/getpass.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-06 22:53:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-06 22:53:50 +0000
commit9f4f16b55d7df262774aee227933347e0ae3846e (patch)
tree26ebae60a02e272ec1fb8d2ead8dfc7559372fd5 /lib/getpass.h
parente05922c4285bf72b2246c9909703c7411f98163b (diff)
new getpass proto and function pointer usage
Diffstat (limited to 'lib/getpass.h')
-rw-r--r--lib/getpass.h9
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