which takes an extra argument for the window titlebar name. (From
Frank Cusack) [krb5-kdc/662]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11348
dc483132-0cff-0310-8789-
dd5450dbe970
+1999-04-01 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * prompter.c (krb5_prompter_posix): Update to use new prompter
+ prototype which takes an extra argument for the window
+ titlebar name. (From Frank Cusack) [krb5-kdc/662]
+
Thu Mar 25 18:45:48 1999 Tom Yu <tlyu@mit.edu>
* promptusr.c (krb5_os_get_tty_uio): getchar() returns int, not
KRB5_DLLIMP krb5_error_code KRB5_CALLCONV
krb5_prompter_posix(krb5_context context,
void *data,
+ const char *name,
const char *banner,
int num_prompts,
krb5_prompt prompts[])
int fd;
#endif
+ if (name) {
+ fputs(name, stdout);
+ fputs("\n", stdout);
+ }
+
if (banner) {
fputs(banner, stdout);
fputs("\n", stdout);
KRB5_DLLIMP krb5_error_code KRB5_CALLCONV
krb5_prompter_posix(krb5_context context,
- void *data,
- const char *banner,
- int num_prompts,
- krb5_prompt prompts[])
+ void *data,
+ const char *name,
+ const char *banner,
+ int num_prompts,
+ krb5_prompt prompts[])
{
return(EINVAL);
}