summaryrefslogtreecommitdiffstats
path: root/src/windows/lib/gic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/lib/gic.h')
-rw-r--r--src/windows/lib/gic.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/windows/lib/gic.h b/src/windows/lib/gic.h
new file mode 100644
index 0000000000..ddea368e43
--- /dev/null
+++ b/src/windows/lib/gic.h
@@ -0,0 +1,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 *,
+ int, krb5_prompt []);
+
+#endif /* _WINDOWS_LIB_GIC_H */