Changeset 77804 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Mar 20, 2019 8:05:37 AM (6 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/HostImpl.h
r76562 r77804 85 85 86 86 static void i_generateMACAddress(Utf8Str &mac); 87 88 #ifdef RT_OS_WINDOWS 89 HRESULT i_updatePersistentConfigForHostOnlyAdapters(void); 90 HRESULT i_removePersistentConfig(const Bstr &bstrGuid); 91 #endif /* RT_OS_WINDOWS */ 92 87 93 88 94 private: -
trunk/src/VBox/Main/include/HostNetworkInterfaceImpl.h
r77436 r77804 50 50 51 51 HRESULT i_setVirtualBox(VirtualBox *pVirtualBox); 52 #ifdef RT_OS_WINDOWS 53 HRESULT i_updatePersistentConfig(); 54 #endif /* RT_OS_WINDOWS */ 52 55 53 56 #ifdef VBOX_WITH_RESOURCE_USAGE_API … … 84 87 85 88 Utf8Str i_composeNetworkName(const Utf8Str szShortName); 89 90 #if defined(RT_OS_WINDOWS) 91 HRESULT eraseAdapterConfigParameter(const char *szParamName); 92 HRESULT saveAdapterConfigParameter(const char *szParamName, const Utf8Str& strValue); 93 HRESULT saveAdapterConfigIPv4Dhcp(); 94 HRESULT saveAdapterConfigIPv4(ULONG addr, ULONG mask); 95 HRESULT saveAdapterConfigIPv6(const Utf8Str& addr, ULONG prefix); 96 HRESULT saveAdapterConfig(); 97 bool isInConfigFile(); 98 #endif /* defined(RT_OS_WINDOWS) */ 86 99 87 100 const Utf8Str mInterfaceName; -
trunk/src/VBox/Main/include/netif.h
r77436 r77804 97 97 int NetIfEnableStaticIpConfigV6(VirtualBox *pVBox, HostNetworkInterface *pIf, const Utf8Str &aOldIPV6Address, const Utf8Str &aIPV6Address, ULONG aIPV6MaskPrefixLength); 98 98 int NetIfEnableDynamicIpConfig(VirtualBox *pVBox, HostNetworkInterface * pIf); 99 #if defined(RT_OS_WINDOWS) 100 int NetIfCreateHostOnlyNetworkInterface(VirtualBox *pVBox, IHostNetworkInterface **aHostNetworkInterface, IProgress **aProgress, IN_BSTR bstrName = NULL); 101 #else /* !defined(RT_OS_WINDOWS) */ 99 102 int NetIfCreateHostOnlyNetworkInterface(VirtualBox *pVBox, IHostNetworkInterface **aHostNetworkInterface, IProgress **aProgress, const char *pszName = NULL); 103 #endif /* !defined(RT_OS_WINDOWS) */ 100 104 int NetIfRemoveHostOnlyNetworkInterface(VirtualBox *pVBox, const Guid &aId, IProgress **aProgress); 101 105 int NetIfGetConfig(HostNetworkInterface * pIf, NETIFINFO *);
Note:
See TracChangeset
for help on using the changeset viewer.