refactor git_getpass into generic prompt function
[gitweb.git] / prompt.h
index 0fd7bd997a69115c47aa13c973fca6ac54450285..9ab85a78a24db86283f22168db61e51d5ef87546 100644 (file)
--- a/prompt.h
+++ b/prompt.h
@@ -1,6 +1,9 @@
 #ifndef PROMPT_H
 #define PROMPT_H
 
+#define PROMPT_ASKPASS (1<<0)
+
+char *git_prompt(const char *prompt, int flags);
 char *git_getpass(const char *prompt);
 
 #endif /* PROMPT_H */