ident.c: add support for IPv6
[gitweb.git] / prompt.h
index 0fd7bd997a69115c47aa13c973fca6ac54450285..e04cced030ca4df6d729c2132ca4671b959952b4 100644 (file)
--- a/prompt.h
+++ b/prompt.h
@@ -1,6 +1,9 @@
 #ifndef PROMPT_H
 #define PROMPT_H
 
-char *git_getpass(const char *prompt);
+#define PROMPT_ASKPASS (1<<0)
+#define PROMPT_ECHO    (1<<1)
+
+char *git_prompt(const char *prompt, int flags);
 
 #endif /* PROMPT_H */