summaryrefslogtreecommitdiffstats
path: root/src/windows/lib/vardlg.h
diff options
context:
space:
mode:
authorMarc Horowitz <marc@mit.edu>1998-10-30 03:12:12 +0000
committerMarc Horowitz <marc@mit.edu>1998-10-30 03:12:12 +0000
commite2f7c03463ac430123f80304034e7d978293ba5f (patch)
treed5907dd048763e8be68ab87f11585653ed2423da /src/windows/lib/vardlg.h
parent1440ab035ba04550ddbbfbff1ee9b5571e3d95db (diff)
downloadkrb5-e2f7c03463ac430123f80304034e7d978293ba5f.tar.gz
krb5-e2f7c03463ac430123f80304034e7d978293ba5f.tar.xz
krb5-e2f7c03463ac430123f80304034e7d978293ba5f.zip
add back mistakenly deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11002 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/lib/vardlg.h')
-rw-r--r--src/windows/lib/vardlg.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/windows/lib/vardlg.h b/src/windows/lib/vardlg.h
new file mode 100644
index 0000000000..e832e51de8
--- /dev/null
+++ b/src/windows/lib/vardlg.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 1997 Cygnus Solutions
+ *
+ * Author: Michael Graff
+ */
+
+#ifndef _WINDOWS_LIB_VARDLG_H
+#define _WINDOWS_LIB_VARDLG_H
+
+#include <windows.h>
+#include <windowsx.h>
+
+#define DLG_BUF 4096
+
+/*
+ * The minimum and maximum dialog box widths we will allow.
+ */
+#define MIN_WIDTH 350
+#define MAX_WIDTH 600
+
+/*
+ * "build" the dialog box. In this bit of code, we create the dialog box,
+ * create the OK button, and a static label for the banner text.
+ *
+ * If there are items, we also create a Cancel button and one (label, entry)
+ * fields for each item.
+ */
+void *vardlg_build(WORD, const char *, WORD, krb5_prompt *, WORD);
+
+void vardlg_config(HWND, WORD, const char *, WORD, krb5_prompt *, WORD);
+
+#endif /* _WINDOWS_LIB_VARDLG_H */