VirtualBox

source: vbox/trunk/src/VBox/Main/src-server/os2/NetIf-os2.cpp@ 77863

Last change on this file since 77863 was 77436, checked in by vboxsync, 6 years ago

Main: Eradicate the use of BSTR in regular API code, there were leaks in almost every occurrence. Also do some Bstr->Utf8Str shuffling to reduce the number of conversions.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1/* $Id: NetIf-os2.cpp 77436 2019-02-22 17:40:00Z vboxsync $ */
2/** @file
3 * Main - NetIfList, OS/2 implementation.
4 */
5
6/*
7 * Copyright (C) 2008-2019 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18
19
20/*********************************************************************************************************************************
21* Header Files *
22*********************************************************************************************************************************/
23#define LOG_GROUP LOG_GROUP_MAIN
24
25#include <iprt/errcore.h>
26#include <list>
27
28#include "HostNetworkInterfaceImpl.h"
29#include "netif.h"
30
31int NetIfList(std::list <ComObjPtr<HostNetworkInterface> > &list)
32{
33 return VERR_NOT_IMPLEMENTED;
34}
35
36int NetIfEnableStaticIpConfig(VirtualBox *pVBox, HostNetworkInterface * pIf, ULONG ip, ULONG mask)
37{
38 return VERR_NOT_IMPLEMENTED;
39}
40
41int NetIfEnableStaticIpConfigV6(VirtualBox *pVBox, HostNetworkInterface * pIf, const Utf8Str &aIPV6Address, ULONG aIPV6MaskPrefixLength)
42{
43 return VERR_NOT_IMPLEMENTED;
44}
45
46int NetIfEnableDynamicIpConfig(VirtualBox *pVBox, HostNetworkInterface * pIf)
47{
48 return VERR_NOT_IMPLEMENTED;
49}
50
51
52int NetIfDhcpRediscover(VirtualBox *pVBox, HostNetworkInterface * pIf)
53{
54 return VERR_NOT_IMPLEMENTED;
55}
56
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette