Imported Upstream version 1.15.2
[platform/upstream/krb5.git] / src / windows / lib / gic.h
1 /*
2  * Copyright (C) 1997 Cygnus Solutions
3  *
4  * Author:  Michael Graff
5  */
6
7 #ifndef _WINDOWS_LIB_GIC_H
8 #define _WINDOWS_LIB_GIC_H
9
10 #include <windows.h>
11 #include <windowsx.h>
12
13 #include "krb5.h"
14
15 typedef struct {
16         HINSTANCE    hinstance;     /* application instance */
17         HWND         hwnd;          /* parent window */
18         WORD         id;            /* starting ID */
19         WORD         width;         /* max width of the dialog box */
20         const char  *banner;        /* the banner */
21         WORD         num_prompts;   /* the number of prompts we were passed */
22         krb5_prompt *prompts;       /* the prompts themselves */
23 } gic_data;
24
25 krb5_error_code KRB5_CALLCONV gic_prompter(krb5_context, void *, const char *,
26                                            const char *, int, krb5_prompt []);
27
28 #endif /* _WINDOWS_LIB_GIC_H */