summaryrefslogtreecommitdiffstats
path: root/ldap/cm/newinstnt/libinst.h
blob: 23c0ad4007234b5b23bd2091212a7b53bff54a83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/** BEGIN COPYRIGHT BLOCK
 * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
 * Copyright (C) 2005 Red Hat, Inc.
 * 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