Changeset 17494 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Mar 6, 2009 4:55:44 PM (16 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/HostImpl.h
r17394 r17494 33 33 #endif 34 34 #include "HostPower.h" 35 36 #ifdef RT_OS_WINDOWS37 # include "win/svchlp.h"38 #endif39 35 40 36 #ifdef RT_OS_LINUX … … 133 129 #endif /* !VBOX_WITH_USB */ 134 130 135 #ifdef RT_OS_WINDOWS136 static int networkInterfaceHelperServer (SVCHlpClient *aClient,137 SVCHlpMsg::Code aMsgCode);138 #endif139 140 131 // for VirtualBoxSupportErrorInfoImpl 141 132 static const wchar_t *getComponentName() { return L"Host"; } … … 162 153 } 163 154 #endif /* VBOX_WITH_USB */ 164 165 #ifdef RT_OS_WINDOWS166 static int createNetworkInterface (SVCHlpClient *aClient,167 const Utf8Str &aName,168 Guid &aGUID, Utf8Str &aErrMsg);169 static int removeNetworkInterface (SVCHlpClient *aClient,170 const Guid &aGUID,171 Utf8Str &aErrMsg);172 static HRESULT networkInterfaceHelperClient (SVCHlpClient *aClient,173 Progress *aProgress,174 void *aUser, int *aVrc);175 #endif176 155 177 156 #ifdef VBOX_WITH_RESOURCE_USAGE_API -
trunk/src/VBox/Main/include/HostNetworkInterfaceImpl.h
r17419 r17494 63 63 #ifdef VBOX_WITH_HOSTNETIF_API 64 64 HRESULT init (Bstr aInterfaceName, HostNetworkInterfaceType_T ifType, struct NETIFINFO *pIfs); 65 HRESULT updateConfig ( struct NETIFINFO *pIfs);65 HRESULT updateConfig (); 66 66 #endif 67 67 … … 86 86 static const wchar_t *getComponentName() { return L"HostNetworkInterface"; } 87 87 88 HRESULT setVirtualBox(VirtualBox *pVBox); 89 HRESULT getVirtualBox(VirtualBox **ppVBox); 88 90 private: 89 91 const Bstr mInterfaceName; 90 92 const Guid mGuid; 91 93 HostNetworkInterfaceType_T mIfType; 94 95 ComObjPtr <VirtualBox, ComWeakRef> mVBox; 92 96 93 97 struct Data -
trunk/src/VBox/Main/include/netif.h
r17447 r17494 80 80 int NetIfEnableStaticIpConfigV6(HostNetworkInterface * pIf, IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength); 81 81 int NetIfEnableDynamicIpConfig(HostNetworkInterface * pIf); 82 int NetIfCreateHostOnlyNetworkInterface (VirtualBox *pVbox, IN_BSTR aName, IHostNetworkInterface **aHostNetworkInterface, IProgress **aProgress); 83 int NetIfRemoveHostOnlyNetworkInterface (VirtualBox *pVbox, IN_GUID aId, IHostNetworkInterface **aHostNetworkInterface, IProgress **aProgress); 84 int NetIfGetConfig(HostNetworkInterface * pIf, NETIFINFO *); 82 85 83 86 DECLINLINE(Bstr) composeIPv6Address(PRTNETADDRIPV6 aAddrPtr)
Note:
See TracChangeset
for help on using the changeset viewer.