summaryrefslogtreecommitdiffstats
path: root/src/windows/lib/gic.h
blob: 23213163d0fc94a9f818a28532730f86fd95ca6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (C) 1997 Cygnus Solutions
 *
 * Author:  Michael Graff
 */

#ifndef _WINDOWS_LIB_GIC_H
#define _WINDOWS_LIB_GIC_H

#include <windows.h>
#include <windowsx.h>

#include "krb5.h"

typedef struct {
	HINSTANCE    hinstance;     /* application instance */
	HWND         hwnd;          /* parent window */
	WORD         id;            /* starting ID */
	WORD         width;         /* max width of the dialog box */
	const char  *banner;        /* the banner */
	WORD         num_prompts;   /* the number of prompts we were passed */
	krb5_prompt *prompts;       /* the prompts themselves */
} gic_data;

krb5_error_code KRB5_CALLCONV gic_prompter(krb5_context, void *, const char *,
					   const char *, int, krb5_prompt []);

#endif /* _WINDOWS_LIB_GIC_H */