VirtualBox

Changeset 15442 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Dec 13, 2008 1:40:42 PM (16 years ago)
Author:
vboxsync
Message:

#3282 HostNetIf API: updated common part, added draft implementation for Solaris.

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/HostNetworkInterfaceImpl.h

    r15372 r15442  
    2828#include "Collection.h"
    2929#ifdef VBOX_WITH_HOSTNETIF_API
    30 #include "netif.h"
     30/* class HostNetworkInterface; */
     31/* #include "netif.h" */
     32struct NETIFINFO;
    3133#endif
    3234
     
    6062    HRESULT init (Bstr interfaceName, Guid guid);
    6163#ifdef VBOX_WITH_HOSTNETIF_API
    62     HRESULT init (PNETIFINFO pIfs);
     64    HRESULT init (Bstr aInterfaceName, struct NETIFINFO *pIfs);
    6365#endif
    6466
  • trunk/src/VBox/Main/include/netif.h

    r15372 r15442  
    3535#include <iprt/net.h>
    3636
     37//#include "VBox/com/ptr.h"
     38//#include <list>
    3739
     40#if 1
    3841/**
    3942 * Encapsulation type.
     
    7982/** Pointer to a const network interface info. */
    8083typedef NETIFINFO const *PCNETIFINFO;
     84#endif
    8185
    82 PNETIFINFO NetIfList();
     86int NetIfList(std::list <ComObjPtr <HostNetworkInterface> > &list);
    8387
    8488#endif
Note: See TracChangeset for help on using the changeset viewer.

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