Changeset 68670 in vbox for trunk/include
- Timestamp:
- Sep 6, 2017 9:02:20 AM (7 years ago)
- Location:
- trunk/include
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Makefile.kmk
r68658 r68670 30 30 VBox/VBoxCrHgsmi.h \ 31 31 VBox/VBoxUhgsmi.h \ 32 VBox/dbus.h 32 VBox/dbus.h \ 33 VBox/VBoxPktDmp.h 33 34 34 35 # Omit headers that are C++ and ring-3. … … 43 44 r3_only_hdrs := \ 44 45 VBox/vrdpapi.h \ 45 46 VBox/vrdpusb.h \ 46 47 VBox/VBoxHDD.h \ 47 48 VBox/VBoxHDD-Plugin.h \ 48 49 VBox/VBoxCrHgsmi.h \ 49 50 VBox/VBoxUhgsmi.h \ 51 VBox/VBoxNetCfg-win.h \ 50 52 VBox/dbus.h \ 53 VBox/usblib-win.h \ 51 54 VBox/vd.h \ 55 VBox/vd-cache-backend.h \ 56 VBox/vd-ifs.h \ 57 VBox/vd-ifs-internal.h \ 58 VBox/vd-image-backend.h \ 52 59 VBox/vd-plugin.h \ 53 VBox/vd-cache-plugin.h \ 60 VBox/vd-filter-backend.h \ 61 VBox/vddbg.h \ 54 62 VBox/vmm/uvm.h \ 55 63 VBox/vscsi.h \ … … 62 70 iprt/socket.h 63 71 72 # Ring-0 only headers. 73 r0_only_hdrs := \ 74 VBox/VBoxGuestLibSharedFolders.h 75 64 76 # We omit a few headers which have platform specific issues or are templates. 65 77 hdrs := $(filter-out \ … … 69 81 VBox/VBoxGL2D.h \ 70 82 VBox/WinNetConfig.h \ 71 VBox/usblib-win.h \72 83 VBox/usblib-solaris.h \ 73 84 VBox/VDEPlug.h \ 85 VBox/VDEPlugSymDefs.h \ 86 VBox/VBoxNetCmn-win.h \ 74 87 $(if-expr "$(KBUILD_TARGET)" != "win", \ 75 88 VBox/VBoxDrvCfg-win.h \ 76 89 VBox/VBoxNetCfg-win.h \ 90 VBox/usblib-win.h \ 77 91 ,) \ 78 92 \ 79 93 VBox/dbus-calls.h \ 80 VBox/VDEPlugSymDefs.h \81 94 VBox/VBoxKeyboard.h \ 82 95 VBox/vmm/pdmpcidevint.h \ … … 89 102 90 103 # ring-3, ring-0 and raw-mode context specific exclusions. 91 hdrs.r3 := $(filter-out , $(hdrs))92 hdrs-c.r3 := $(filter-out $(cpp_features_hdrs) $(r3_cpp_hdrs) , $(hdrs.r3))104 hdrs.r3 := $(filter-out $(r0_only_hdrs), $(hdrs)) 105 hdrs-c.r3 := $(filter-out $(cpp_features_hdrs) $(r3_cpp_hdrs) $(r0_only_hdrs), $(hdrs.r3)) 93 106 hdrs.r0 := $(filter-out $(r3_cpp_hdrs) $(r3_only_hdrs), $(hdrs)) 94 107 hdrs-c.r0 := $(filter-out $(cpp_features_hdrs), $(hdrs.r0)) … … 102 115 $(r3_cpp_hdrs) \ 103 116 $(r3_only_hdrs) \ 117 $(r0_only_hdrs) \ 104 118 , $(hdrs)) 105 119 hdrs-c.rc := $(filter-out $(cpp_features_hdrs), $(hdrs.rc)) -
trunk/include/VBox/VBoxGuestLib.h
r68654 r68670 31 31 #include <VBox/VBoxGuestCoreTypes.h> 32 32 33 34 33 /** @defgroup grp_vboxguest_lib VirtualBox Guest Additions Library 35 34 * @ingroup grp_vboxguest … … 84 83 * @{ 85 84 */ 86 #if defined(IN_RING0) && !defined(IN_RING0_AGNOSTIC)85 #ifdef IN_RING0 87 86 /** @def DECLR0VBGL 88 87 * Declare a VBGL ring-0 API with the right calling convention and visibilitiy. … … 471 470 # endif /* VBOX_GUEST */ 472 471 473 #endif /* IN_RING0 && !IN_RING0_AGNOSTIC*/472 #endif /* IN_RING0 */ 474 473 475 474 /** @} */ -
trunk/include/VBox/VBoxGuestLibSharedFolders.h
r62476 r68670 30 30 #include <VBox/VBoxGuestLib.h> 31 31 #include <VBox/shflsvc.h> 32 33 #ifndef IN_RING0 34 # error "ring-0 only" 35 #endif 32 36 33 37 RT_C_DECLS_BEGIN -
trunk/include/VBox/VBoxNetCfg-win.h
r62688 r68670 42 42 #include <iprt/win/Setupapi.h> 43 43 #include <VBox/cdefs.h> 44 #include <iprt/types.h> 44 45 45 46 /** @defgroup grp_vboxnetcfgwin The Windows Network Configration Library -
trunk/include/VBox/VBoxNetCmn-win.h
r62684 r68670 25 25 */ 26 26 27 #ifndef ___VBox_VBoxNetCmn_win_h 28 #define ___VBox_VBoxNetCmn_win_h 29 30 #include <iprt/log.h> /* for LOG_ENABLED */ 31 32 27 33 DECLHIDDEN(void) vboxNetCmnWinDumpOidRequest(const char *pcszFunction, PNDIS_OID_REQUEST pRequest) 28 34 { 29 # ifdef LOG_ENABLED35 # ifdef LOG_ENABLED 30 36 const char *pszType; 31 37 const char *pszOid = "unknown"; … … 137 143 } 138 144 Log(("%s: %s(0x%x) %s(0x%x)\n", pcszFunction, pszType, pRequest->RequestType, pszOid, pRequest->DATA.SET_INFORMATION.Oid)); 139 # else145 # else 140 146 RT_NOREF2(pcszFunction, pRequest); 147 # endif 148 } 149 141 150 #endif 142 } -
trunk/include/VBox/VBoxPktDmp.h
r63704 r68670 27 27 #ifndef ___VBox_vboxpktdmp_h 28 28 #define ___VBox_vboxpktdmp_h 29 30 #include <iprt/net.h> 31 #include <iprt/log.h> 32 #if defined(LOG_ENABLED) && !defined(VBOX_DEVICE_STRUCT_TESTCASE) 33 # include <iprt/asm.h> 34 #endif 35 29 36 30 37 DECLINLINE(const char *) vboxEthTypeStr(uint16_t uType) -
trunk/include/VBox/usblib-win.h
r62476 r68670 302 302 USBLIB_DECL(int) USBLibWaitChange(RTMSINTERVAL cMillies); 303 303 304 USBLIB_DECL(int) USBLibInterruptWaitChange( );305 306 USBLIB_DECL(int) USBLibRunFilters( );304 USBLIB_DECL(int) USBLibInterruptWaitChange(void); 305 306 USBLIB_DECL(int) USBLibRunFilters(void); 307 307 308 308 /** @} */ -
trunk/include/VBox/vd-ifs.h
r67247 r68670 651 651 VBOXDDU_DECL(int) VDIfCreateVfsStream(PVDINTERFACEIO pVDIfsIo, void *pvStorage, uint32_t fFlags, PRTVFSIOSTREAM phVfsIos); 652 652 653 struct VDINTERFACEIOINT; 654 653 655 /** 654 656 * Create a VFS file handle around a VD I/O interface. … … 668 670 * @param phVfsFile Where to return the VFS file handle on success. 669 671 */ 670 VBOXDDU_DECL(int) VDIfCreateVfsFile(PVDINTERFACEIO pVDIfs, struct VDINTERFACEIOINT *pVDIfsInt, void *pvStorage, uint32_t fFlags, PRTVFSFILE phVfsFile); 672 VBOXDDU_DECL(int) VDIfCreateVfsFile(PVDINTERFACEIO pVDIfs, struct VDINTERFACEIOINT *pVDIfsInt, void *pvStorage, 673 uint32_t fFlags, PRTVFSFILE phVfsFile); 671 674 672 675 /** -
trunk/include/VBox/vd.h
r66346 r68670 286 286 DECLINLINE(uint32_t) VDOpenFlagsToFileOpenFlags(unsigned fOpenFlags, bool fCreate) 287 287 { 288 uint32_t fOpen; 288 289 AssertMsg(!(fOpenFlags & VD_OPEN_FLAGS_READONLY) || !fCreate, ("Image can't be opened readonly while being created\n")); 289 290 290 uint32_t fOpen;291 291 if (fOpenFlags & VD_OPEN_FLAGS_READONLY) 292 292 fOpen = RTFILE_O_READ | RTFILE_O_DENY_NONE; … … 1514 1514 typedef struct VDIOBUFCALLBACKS *PVDIOBUFCALLBACKS; 1515 1515 /** Pointer to const VD I/O buffer callbacks. */ 1516 typedef const VDIOBUFCALLBACKS *PCVDIOBUFCALLBACKS;1516 typedef const struct VDIOBUFCALLBACKS *PCVDIOBUFCALLBACKS; 1517 1517 1518 1518 /** -
trunk/include/VBox/vdmedia.h
r66486 r68670 23 23 * terms and conditions of either the GPL or the CDDL or both. 24 24 */ 25 25 26 #ifndef ___VBox_vdmedia_h 26 27 #define ___VBox_vdmedia_h 28 29 #include <iprt/types.h> 27 30 28 31 /** @name VD container type. … … 208 211 209 212 #endif /* !___VBox_vdmedia_h */ 213
Note:
See TracChangeset
for help on using the changeset viewer.