Changeset 20859 in vbox for trunk/include
- Timestamp:
- Jun 23, 2009 5:29:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/log.h
r20853 r20859 220 220 /** Pointer to temporary scratch buffer. 221 221 * This is used to format the log messages. */ 222 char achScratch[ 16384];222 char achScratch[32768]; 223 223 /** Current scratch buffer position. */ 224 RTUINToffScratch;224 uint32_t offScratch; 225 225 /** This is set if a prefix is pending. */ 226 RTUINTfPendingPrefix;226 uint32_t fPendingPrefix; 227 227 /** Pointer to the logger function. 228 228 * This is actually pointer to a wrapper which will push a pointer to the … … 235 235 uint32_t u32Magic; 236 236 /** Logger instance flags - RTLOGFLAGS. */ 237 RTUINTfFlags;237 uint32_t fFlags; 238 238 /** Number of groups in the afGroups member. */ 239 RTUINTcGroups;239 uint32_t cGroups; 240 240 /** Group flags array - RTLOGGRPFLAGS. 241 241 * This member have variable length and may extend way beyond 242 242 * the declared size of 1 entry. */ 243 RTUINTafGroups[1];243 uint32_t afGroups[1]; 244 244 }; 245 245 … … 257 257 /** Pointer to temporary scratch buffer. 258 258 * This is used to format the log messages. */ 259 char achScratch[ 16384];259 char achScratch[32768]; 260 260 /** Current scratch buffer position. */ 261 RTUINToffScratch;261 uint32_t offScratch; 262 262 /** This is set if a prefix is pending. */ 263 RTUINTfPendingPrefix;263 uint32_t fPendingPrefix; 264 264 /** Pointer to the logger function. 265 265 * This is actually pointer to a wrapper which will push a pointer to the … … 279 279 uint32_t u32Magic; 280 280 /** Logger instance flags - RTLOGFLAGS. */ 281 RTUINTfFlags;281 uint32_t fFlags; 282 282 /** Destination flags - RTLOGDEST. */ 283 RTUINTfDestFlags;283 uint32_t fDestFlags; 284 284 /** Handle to log file (if open). */ 285 285 RTFILE File; … … 292 292 /** The max number of groups that there is room for in afGroups and papszGroups. 293 293 * Used by RTLogCopyGroupAndFlags(). */ 294 RTUINTcMaxGroups;294 uint32_t cMaxGroups; 295 295 /** Number of groups in the afGroups and papszGroups members. */ 296 RTUINTcGroups;296 uint32_t cGroups; 297 297 /** Group flags array - RTLOGGRPFLAGS. 298 298 * This member have variable length and may extend way beyond 299 299 * the declared size of 1 entry. */ 300 RTUINTafGroups[1];300 uint32_t afGroups[1]; 301 301 }; 302 302 … … 1313 1313 * @param ... Format arguments. 1314 1314 */ 1315 RTDECL(int) RTLogCreate(PRTLOGGER *ppLogger, RTUINTfFlags, const char *pszGroupSettings,1315 RTDECL(int) RTLogCreate(PRTLOGGER *ppLogger, uint32_t fFlags, const char *pszGroupSettings, 1316 1316 const char *pszEnvVarBase, unsigned cGroups, const char * const * papszGroups, 1317 RTUINTfDestFlags, const char *pszFilenameFmt, ...);1317 uint32_t fDestFlags, const char *pszFilenameFmt, ...); 1318 1318 1319 1319 /** … … 1335 1335 * @param ... Format arguments. 1336 1336 */ 1337 RTDECL(int) RTLogCreateEx(PRTLOGGER *ppLogger, RTUINTfFlags, const char *pszGroupSettings,1337 RTDECL(int) RTLogCreateEx(PRTLOGGER *ppLogger, uint32_t fFlags, const char *pszGroupSettings, 1338 1338 const char *pszEnvVarBase, unsigned cGroups, const char * const * papszGroups, 1339 RTUINTfDestFlags, char *pszErrorMsg, size_t cchErrorMsg, const char *pszFilenameFmt, ...);1339 uint32_t fDestFlags, char *pszErrorMsg, size_t cchErrorMsg, const char *pszFilenameFmt, ...); 1340 1340 1341 1341 /** … … 1357 1357 * @param args Format arguments. 1358 1358 */ 1359 RTDECL(int) RTLogCreateExV(PRTLOGGER *ppLogger, RTUINTfFlags, const char *pszGroupSettings,1359 RTDECL(int) RTLogCreateExV(PRTLOGGER *ppLogger, uint32_t fFlags, const char *pszGroupSettings, 1360 1360 const char *pszEnvVarBase, unsigned cGroups, const char * const * papszGroups, 1361 RTUINTfDestFlags, char *pszErrorMsg, size_t cchErrorMsg, const char *pszFilenameFmt, va_list args);1361 uint32_t fDestFlags, char *pszErrorMsg, size_t cchErrorMsg, const char *pszFilenameFmt, va_list args); 1362 1362 1363 1363 /** … … 1373 1373 * @param fDestFlags The destination flags. 1374 1374 */ 1375 RTDECL(int) RTLogCreateForR0(PRTLOGGER pLogger, size_t cbLogger, PFNRTLOGGER pfnLogger, PFNRTLOGFLUSH pfnFlush, RTUINT fFlags, RTUINTfDestFlags);1375 RTDECL(int) RTLogCreateForR0(PRTLOGGER pLogger, size_t cbLogger, PFNRTLOGGER pfnLogger, PFNRTLOGFLUSH pfnFlush, uint32_t fFlags, uint32_t fDestFlags); 1376 1376 1377 1377 /** … … 1400 1400 */ 1401 1401 RTDECL(int) RTLogCloneRC(PRTLOGGER pLogger, PRTLOGGERRC pLoggerRC, size_t cbLoggerRC, 1402 RTRCPTR pfnLoggerRCPtr, RTRCPTR pfnFlushRCPtr, RTUINTfFlags);1402 RTRCPTR pfnLoggerRCPtr, RTRCPTR pfnFlushRCPtr, uint32_t fFlags); 1403 1403 1404 1404 /**
Note:
See TracChangeset
for help on using the changeset viewer.