summaryrefslogtreecommitdiffstats
path: root/ldap/cm/newinstnt/libinst.h
diff options
context:
space:
mode:
authorcvsadm <cvsadm>2005-01-21 00:44:34 +0000
committercvsadm <cvsadm>2005-01-21 00:44:34 +0000
commitb2093e3016027d6b5cf06b3f91f30769bfc099e2 (patch)
treecf58939393a9032182c4fbc4441164a9456e82f8 /ldap/cm/newinstnt/libinst.h
downloadds-ldapserver7x.tar.gz
ds-ldapserver7x.tar.xz
ds-ldapserver7x.zip
Moving NSCP Directory Server from DirectoryBranch to TRUNK, initial drop. (foxworth)ldapserver7x
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