Changeset 90692 in vbox for trunk/src/VBox
- Timestamp:
- Aug 16, 2021 9:20:36 AM (3 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
r88569 r90692 1211 1211 *pszBuf = '\0'; 1212 1212 if (pLogger) 1213 RTLog GetGroupSettings(pLogger, pszBuf, _4K);1213 RTLogQueryGroupSettings(pLogger, pszBuf, _4K); 1214 1214 return strlen(pszBuf); 1215 1215 } … … 1236 1236 *pszBuf = '\0'; 1237 1237 if (pLogger) 1238 RTLog GetFlags(pLogger, pszBuf, _4K);1238 RTLogQueryFlags(pLogger, pszBuf, _4K); 1239 1239 return strlen(pszBuf); 1240 1240 } … … 1261 1261 *pszBuf = '\0'; 1262 1262 if (pLogger) 1263 RTLog GetDestinations(pLogger, pszBuf, _4K);1263 RTLogQueryDestinations(pLogger, pszBuf, _4K); 1264 1264 return strlen(pszBuf); 1265 1265 } -
trunk/src/VBox/Debugger/DBGCCommands.cpp
r86361 r90692 1200 1200 { 1201 1201 char szBuf[_64K]; 1202 rc = RTLog GetGroupSettings(NULL, szBuf, sizeof(szBuf));1202 rc = RTLogQueryGroupSettings(NULL, szBuf, sizeof(szBuf)); 1203 1203 if (RT_FAILURE(rc)) 1204 return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLog GetDestinations(NULL,,%#zx)\n", sizeof(szBuf));1204 return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLogQueryGroupSettings(NULL,,%#zx)\n", sizeof(szBuf)); 1205 1205 DBGCCmdHlpPrintf(pCmdHlp, "VBOX_LOG=%s\n", szBuf); 1206 1206 } … … 1225 1225 { 1226 1226 char szBuf[_16K]; 1227 rc = RTLog GetDestinations(NULL, szBuf, sizeof(szBuf));1227 rc = RTLogQueryDestinations(NULL, szBuf, sizeof(szBuf)); 1228 1228 if (RT_FAILURE(rc)) 1229 return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLog GetDestinations(NULL,,%#zx)\n", sizeof(szBuf));1229 return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLogQueryDestinations(NULL,,%#zx)\n", sizeof(szBuf)); 1230 1230 DBGCCmdHlpPrintf(pCmdHlp, "VBOX_LOG_DEST=%s\n", szBuf); 1231 1231 } … … 1250 1250 { 1251 1251 char szBuf[_16K]; 1252 rc = RTLog GetFlags(NULL, szBuf, sizeof(szBuf));1252 rc = RTLogQueryFlags(NULL, szBuf, sizeof(szBuf)); 1253 1253 if (RT_FAILURE(rc)) 1254 return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLog GetFlags(NULL,,%#zx)\n", sizeof(szBuf));1254 return DBGCCmdHlpVBoxError(pCmdHlp, rc, "RTLogQueryFlags(NULL,,%#zx)\n", sizeof(szBuf)); 1255 1255 DBGCCmdHlpPrintf(pCmdHlp, "VBOX_LOG_FLAGS=%s\n", szBuf); 1256 1256 } -
trunk/src/VBox/Main/src-client/MachineDebuggerImpl.cpp
r90549 r90692 477 477 HRESULT MachineDebugger::getLogDbgFlags(com::Utf8Str &aLogDbgFlags) 478 478 { 479 return i_logStringProps(RTLogGetDefaultInstance(), RTLog GetFlags, "RTGetFlags", &aLogDbgFlags);479 return i_logStringProps(RTLogGetDefaultInstance(), RTLogQueryFlags, "RTLogQueryFlags", &aLogDbgFlags); 480 480 } 481 481 482 482 HRESULT MachineDebugger::getLogDbgGroups(com::Utf8Str &aLogDbgGroups) 483 483 { 484 return i_logStringProps(RTLogGetDefaultInstance(), RTLog GetGroupSettings, "RTLogGetGroupSettings", &aLogDbgGroups);484 return i_logStringProps(RTLogGetDefaultInstance(), RTLogQueryGroupSettings, "RTLogQueryGroupSettings", &aLogDbgGroups); 485 485 } 486 486 487 487 HRESULT MachineDebugger::getLogDbgDestinations(com::Utf8Str &aLogDbgDestinations) 488 488 { 489 return i_logStringProps(RTLogGetDefaultInstance(), RTLog GetDestinations, "RTLogGetDestinations", &aLogDbgDestinations);489 return i_logStringProps(RTLogGetDefaultInstance(), RTLogQueryDestinations, "RTLogQueryDestinations", &aLogDbgDestinations); 490 490 } 491 491 492 492 HRESULT MachineDebugger::getLogRelFlags(com::Utf8Str &aLogRelFlags) 493 493 { 494 return i_logStringProps(RTLogRelGetDefaultInstance(), RTLog GetFlags, "RTGetFlags", &aLogRelFlags);494 return i_logStringProps(RTLogRelGetDefaultInstance(), RTLogQueryFlags, "RTLogQueryFlags", &aLogRelFlags); 495 495 } 496 496 497 497 HRESULT MachineDebugger::getLogRelGroups(com::Utf8Str &aLogRelGroups) 498 498 { 499 return i_logStringProps(RTLogRelGetDefaultInstance(), RTLog GetGroupSettings, "RTLogGetGroupSettings", &aLogRelGroups);499 return i_logStringProps(RTLogRelGetDefaultInstance(), RTLogQueryGroupSettings, "RTLogQueryGroupSettings", &aLogRelGroups); 500 500 } 501 501 502 502 HRESULT MachineDebugger::getLogRelDestinations(com::Utf8Str &aLogRelDestinations) 503 503 { 504 return i_logStringProps(RTLogRelGetDefaultInstance(), RTLog GetDestinations, "RTLogGetDestinations", &aLogRelDestinations);504 return i_logStringProps(RTLogRelGetDefaultInstance(), RTLogQueryDestinations, "RTLogQueryDestinations", &aLogRelDestinations); 505 505 } 506 506 -
trunk/src/VBox/Main/src-global/win/VBoxSDS.cpp
r83818 r90692 642 642 { 643 643 char szDest[1024]; 644 int rc = ::RTLog GetDestinations(pReleaseLogger, szDest, sizeof(szDest));644 int rc = ::RTLogQueryDestinations(pReleaseLogger, szDest, sizeof(szDest)); 645 645 if (RT_SUCCESS(rc)) 646 646 { -
trunk/src/VBox/Main/src-server/UnattendedImpl.cpp
r86274 r90692 2287 2287 if (aHostname.length() > (aHostname.endsWith(".") ? 254U : 253U)) 2288 2288 return setErrorBoth(E_INVALIDARG, VERR_INVALID_NAME, 2289 tr("Hostname '%s' is %zu bytes long, max is 253 (exclu ing trailing dot)"),2289 tr("Hostname '%s' is %zu bytes long, max is 253 (excluding trailing dot)"), 2290 2290 aHostname.c_str(), aHostname.length()); 2291 2291 size_t cLabels = 0; -
trunk/src/VBox/Main/src-server/win/svcmain.cpp
r89202 r90692 158 158 { 159 159 char szDest[1024]; 160 int rc = RTLog GetDestinations(pReleaseLogger, szDest, sizeof(szDest));160 int rc = RTLogQueryDestinations(pReleaseLogger, szDest, sizeof(szDest)); 161 161 if (RT_SUCCESS(rc)) 162 162 { -
trunk/src/VBox/Runtime/VBox/VBoxRTImp.def
r88167 r90692 1277 1277 RTLogGetDefaultInstance 1278 1278 RTLogGetDefaultInstanceEx 1279 RTLogGetDestinations1280 RTLogGetFlags1281 RTLogGetGroupSettings1282 1279 RTLogGroupSettings 1283 1280 RTLogLogger … … 1287 1284 RTLogPrintf 1288 1285 RTLogPrintfV 1286 RTLogQueryDestinations 1287 RTLogQueryFlags 1288 RTLogQueryGroupSettings 1289 1289 RTLogRelGetDefaultInstance 1290 1290 RTLogRelGetDefaultInstanceEx -
trunk/src/VBox/Runtime/common/log/log.cpp
r83657 r90692 1918 1918 * than zero. 1919 1919 */ 1920 RTDECL(int) RTLog GetGroupSettings(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)1920 RTDECL(int) RTLogQueryGroupSettings(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf) 1921 1921 { 1922 1922 bool fNotFirst = false; … … 1977 1977 return rc; 1978 1978 } 1979 RT_EXPORT_SYMBOL(RTLog GetGroupSettings);1979 RT_EXPORT_SYMBOL(RTLogQueryGroupSettings); 1980 1980 1981 1981 #endif /* !IN_RC */ … … 2145 2145 * than zero. 2146 2146 */ 2147 RTDECL(int) RTLog GetFlags(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)2147 RTDECL(int) RTLogQueryFlags(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf) 2148 2148 { 2149 2149 bool fNotFirst = false; … … 2195 2195 return rc; 2196 2196 } 2197 RT_EXPORT_SYMBOL(RTLog GetFlags);2197 RT_EXPORT_SYMBOL(RTLogQueryFlags); 2198 2198 2199 2199 … … 2500 2500 * than 0. 2501 2501 */ 2502 RTDECL(int) RTLog GetDestinations(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf)2502 RTDECL(int) RTLogQueryDestinations(PRTLOGGER pLogger, char *pszBuf, size_t cchBuf) 2503 2503 { 2504 2504 bool fNotFirst = false; … … 2601 2601 return VINF_SUCCESS; 2602 2602 } 2603 RT_EXPORT_SYMBOL(RTLog GetDestinations);2603 RT_EXPORT_SYMBOL(RTLogQueryDestinations); 2604 2604 2605 2605 #endif /* !IN_RC */
Note:
See TracChangeset
for help on using the changeset viewer.