DhcpServerRunner.h revision 321d13a5b38074275a3dfe378acf0a25639a5616
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * VirtualBox Main - interface for VBox DHCP server
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * Copyright (C) 2009 Sun Microsystems, Inc.
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * available from http://www.virtualbox.org. This file is free software;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * you can redistribute it and/or modify it under the terms of the GNU
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * General Public License (GPL) as published by the Free Software
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync * additional information or have any questions.
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync//using namespace com;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsynctypedef enum
}DHCPCFG;
enum CaseSensitivity
typedef char *String;
typedef const char *ConstString;
if (str)
return *this;
return *this;
setNull();
if (aSize)
#if !defined (VBOX_WITH_XPCOM)
if (str)
str [0] = 0;
return *this;
if (cbThat)
char *pszTemp;
if (str)
setNull();
if (pstr)
return *this;
return *this;
void safe_assign (const char *s)
if (str != s)
setNull();
if (rs)
char *str;
return VERR_INVALID_PARAMETER;
if(isRunning())
return VERR_INVALID_STATE;
#ifdef RT_OS_WINDOWS
if(val)
return VINF_SUCCESS;
int start();
int stop();
bool isRunning();
void detachFromServer();