common.h revision 24841fa78a4602463372f5f5a678bf2e1ba0b4b6
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard/*
095e49b99a1a9a4604e5750771e062c061cd12bdwrowe* CDDL HEADER START
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard*
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* The contents of this file are subject to the terms of the
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* Common Development and Distribution License, Version 1.0 only
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* (the "License"). You may not use this file except in compliance
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* with the License.
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard*
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* You can obtain a copy of the license at
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* trunk/opends/resource/legal-notices/OpenDS.LICENSE
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* or https://OpenDS.dev.java.net/OpenDS.LICENSE.
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* See the License for the specific language governing permissions
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* and limitations under the License.
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard*
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* When distributing Covered Code, include this CDDL HEADER in each
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* file and include the License file at
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* add the following below this CDDL HEADER, with the fields enclosed
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* by brackets "[]" replaced with your own identifying * information:
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* Portions Copyright [yyyy] [name of copyright owner]
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard*
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard* CDDL HEADER END
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard*
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard*
095e49b99a1a9a4604e5750771e062c061cd12bdwrowe* Portions Copyright 2007 Sun Microsystems, Inc.
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard*/
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard// Just some functions and constants to be used by winlauncher.c
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard// and service.c
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard#include <Windows.h>
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddard
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddardint spawn(const char* command, BOOL background);
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddardBOOL createChildProcess(char* command, BOOL background,
8e117661fd51fd19d6430fca8d7ae87c67d6de20stoddardPROCESS_INFORMATION* procInfo);
4e06302d1825b2a21dfe3ac998ff14e9a40927d7wrowe