summaryrefslogtreecommitdiffstats
path: root/ldap/cm/newinstnt/libinst.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/cm/newinstnt/libinst.h')
-rw-r--r--ldap/cm/newinstnt/libinst.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/ldap/cm/newinstnt/libinst.h b/ldap/cm/newinstnt/libinst.h
new file mode 100644
index 00000000..fd161031
--- /dev/null
+++ b/ldap/cm/newinstnt/libinst.h
@@ -0,0 +1,26 @@
+/** BEGIN COPYRIGHT BLOCK
+ * Copyright 2001 Sun Microsystems, Inc.
+ * Portions copyright 1999, 2001-2003 Netscape Communications Corporation.
+ * All rights reserved.
+ * END COPYRIGHT BLOCK **/
+//////////////////////////////////////////////////////////////////////////////
+// libinst.h - Netscape SuiteSpot Installation Plug-In Directory Server
+//
+//
+// routines common to each component install dll
+#ifndef __LIBINST_H
+#define __LIBINST_H
+
+#include <windows.h>
+#include <nssetup.h>
+
+#define MAX_STR_SIZE 512
+
+DWORD _LaunchAndWait(char *szCommandLine, DWORD dwTimeout);
+int WriteSummaryStringRC(LPSTR lpsz, char *format, HINSTANCE hModule, UINT uStringID, char *value);
+int WriteSummaryIntRC(LPSTR lpsz, char *format, HINSTANCE hModule, UINT uStringID, int value);
+int DSMessageBox(UINT type, UINT titleKey, UINT msgKey, const char *titlearg, ...);
+int DSMessageBoxOK(UINT titleKey, UINT msgKey, const char *titlearg, ...);
+void DSGetHostName(char *hostname, int bufsiz);
+void DSGetDefaultSuffix(char *suffix, const char *hostname);
+#endif