VirtualBox

Changeset 76404 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Dec 23, 2018 3:48:33 PM (6 years ago)
Author:
vboxsync
Message:

VBox/vmm/pdmnetshaper.h,pdmdev.h: Don't include err.h and assert.h in the former, and don't include the former from the latter. bugref:9344

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmdrv.h

    r76403 r76404  
    3636# include <VBox/vmm/pdmasynccompletion.h>
    3737# include <VBox/vmm/pdmblkcache.h>
    38 #endif
    39 #ifdef VBOX_WITH_NETSHAPER
    40 # include <VBox/vmm/pdmnetshaper.h>
    4138#endif
    4239#include <VBox/vmm/tm.h>
     
    11851182                                                                const char *pszDesc));
    11861183
    1187 #ifdef VBOX_WITH_NETSHAPER
    11881184    /**
    11891185     * Attaches network filter driver to a bandwidth group.
     
    11941190     * @param   pFilter         Pointer to the filter we attach.
    11951191     */
    1196     DECLR3CALLBACKMEMBER(int, pfnNetShaperAttach,(PPDMDRVINS pDrvIns, const char *pszBwGroup,
    1197                                                   PPDMNSFILTER pFilter));
    1198 
     1192    DECLR3CALLBACKMEMBER(int, pfnNetShaperAttach,(PPDMDRVINS pDrvIns, const char *pszBwGroup, PPDMNSFILTER pFilter));
    11991193
    12001194    /**
     
    12061200     */
    12071201    DECLR3CALLBACKMEMBER(int, pfnNetShaperDetach,(PPDMDRVINS pDrvIns, PPDMNSFILTER pFilter));
    1208 #endif /* VBOX_WITH_NETSHAPER */
    1209 
    12101202
    12111203    /**
  • trunk/include/VBox/vmm/pdmnetshaper.h

    r69107 r76404  
    2828
    2929#include <VBox/types.h>
    30 #include <VBox/err.h>
    3130#include <VBox/vmm/pdmnetifs.h>
    32 #include <iprt/assert.h>
    3331#include <iprt/sg.h>
    3432
     
    6159} PDMNSFILTER;
    6260
    63 /** Pointer to a PDM filter handle. */
    64 typedef struct PDMNSFILTER *PPDMNSFILTER;
    65 /** Pointer to a network shaper. */
    66 typedef struct PDMNETSHAPER *PPDMNETSHAPER;
    67 
    68 
    6961VMMDECL(bool)       PDMNsAllocateBandwidth(PPDMNSFILTER pFilter, size_t cbTransfer);
    7062VMMR3_INT_DECL(int) PDMR3NsAttach(PUVM pUVM, PPDMDRVINS pDrvIns, const char *pcszBwGroup, PPDMNSFILTER pFilter);
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