Changeset 103149 in vbox
- Timestamp:
- Jan 31, 2024 3:41:31 PM (12 months ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r102833 r103149 1729 1729 * @param pvUser Pointer of type PVGSVCMOUNTPOINTENUMCTX. 1730 1730 */ 1731 DECLCALLBACK(int) vgsvcGstCtrlSessionHandleMountPointsEnumCallback(const char *pszMountpoint, void *pvUser)1731 static DECLCALLBACK(int) vgsvcGstCtrlSessionHandleMountPointsEnumCallback(const char *pszMountpoint, void *pvUser) 1732 1732 { 1733 1733 PVGSVCMOUNTPOINTENUMCTX pCtx = (PVGSVCMOUNTPOINTENUMCTX)pvUser; … … 3732 3732 * @param fFlags Closing flags. 3733 3733 */ 3734 int VGSvcGstCtrlSessionThreadWait(PVBOXSERVICECTRLSESSIONTHREAD pThread, uint32_t uTimeoutMS, uint32_t fFlags)3734 static int VGSvcGstCtrlSessionThreadWait(PVBOXSERVICECTRLSESSIONTHREAD pThread, uint32_t uTimeoutMS, uint32_t fFlags) 3735 3735 { 3736 3736 RT_NOREF(fFlags); -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceStats.cpp
r98103 r103149 633 633 * @interface_method_impl{VBOXSERVICE,pfnWorker} 634 634 */ 635 DECLCALLBACK(int) vgsvcVMStatsWorker(bool volatile *pfShutdown)635 static DECLCALLBACK(int) vgsvcVMStatsWorker(bool volatile *pfShutdown) 636 636 { 637 637 int rc = VINF_SUCCESS; -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceTimeSync.cpp
r99739 r103149 538 538 * @interface_method_impl{VBOXSERVICE,pfnWorker} 539 539 */ 540 DECLCALLBACK(int) vgsvcTimeSyncWorker(bool volatile *pfShutdown)540 static DECLCALLBACK(int) vgsvcTimeSyncWorker(bool volatile *pfShutdown) 541 541 { 542 542 RTTIME Time; -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r102753 r103149 112 112 #include "VBoxServiceUtils.h" 113 113 #include "VBoxServicePropCache.h" 114 #include "VBoxServiceVMInfo.h" 114 115 115 116 … … 155 156 /** User idle threshold (in ms). This specifies the minimum time a user is considered 156 157 * as being idle and then will be reported to the host. Default is 5s. */ 157 uint32_tg_uVMInfoUserIdleThresholdMS = 5 * 1000;158 DECL_HIDDEN_DATA(uint32_t) g_uVMInfoUserIdleThresholdMS = 5 * 1000; 158 159 159 160 … … 429 430 * the property. 430 431 */ 431 intVGSvcUserUpdateF(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain,432 const char *pszKey, const char *pszValueFormat, ...)432 DECLHIDDEN(int) VGSvcUserUpdateF(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain, 433 const char *pszKey, const char *pszValueFormat, ...) 433 434 { 434 435 AssertPtrReturn(pCache, VERR_INVALID_POINTER); … … 494 495 * @param va Format arguments. 495 496 */ 496 intVGSvcUserUpdateV(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain,497 const char *pszKey, const char *pszFormat, va_list va)497 DECLHIDDEN(int) VGSvcUserUpdateV(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain, 498 const char *pszKey, const char *pszFormat, va_list va) 498 499 { 499 500 char *psz = NULL; -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.h
r102754 r103149 33 33 34 34 35 extern intVGSvcUserUpdateF(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain,36 const char *pszKey, const char *pszValueFormat, ...);37 extern intVGSvcUserUpdateV(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain,38 const char *pszKey, const char *pszFormat, va_list va);35 DECLHIDDEN(int) VGSvcUserUpdateF(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain, 36 const char *pszKey, const char *pszValueFormat, ...); 37 DECLHIDDEN(int) VGSvcUserUpdateV(PVBOXSERVICEVEPROPCACHE pCache, const char *pszUser, const char *pszDomain, 38 const char *pszKey, const char *pszFormat, va_list va); 39 39 40 extern uint32_tg_uVMInfoUserIdleThresholdMS;40 extern DECL_HIDDEN_DATA(uint32_t) g_uVMInfoUserIdleThresholdMS; 41 41 42 42 #endif /* !GA_INCLUDED_SRC_common_VBoxService_VBoxServiceVMInfo_h */
Note:
See TracChangeset
for help on using the changeset viewer.