summaryrefslogtreecommitdiffstats
path: root/src/windows/lib/gic.h
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1998-05-27 19:23:34 +0000
committerTheodore Tso <tytso@mit.edu>1998-05-27 19:23:34 +0000
commitf6e7e6667ed480c99c05b736c5fb568a48a55f23 (patch)
tree95ccf899fe5242e5d04dfc59d6bd9724d99a8788 /src/windows/lib/gic.h
parentbd90cbd829ef4b7b440f56c754904227448a201f (diff)
downloadkrb5-f6e7e6667ed480c99c05b736c5fb568a48a55f23.tar.gz
krb5-f6e7e6667ed480c99c05b736c5fb568a48a55f23.tar.xz
krb5-f6e7e6667ed480c99c05b736c5fb568a48a55f23.zip
Check in files from Kerbnet-1.2 release. This is an auxiliary library
used by some of the windows programs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10589 dc483132-0cff-0310-8789-dd5450dbe970
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 */