Changeset 9244 in vbox for trunk/include
- Timestamp:
- May 30, 2008 11:50:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/log.h
r9212 r9244 149 149 /** Logger structure. */ 150 150 #ifdef IN_GC 151 typedef struct RTLOGGER GC RTLOGGER;151 typedef struct RTLOGGERRC RTLOGGER; 152 152 #else 153 153 typedef struct RTLOGGER RTLOGGER; … … 160 160 161 161 /** Guest context logger structure. */ 162 typedef struct RTLOGGER GC RTLOGGERGC;162 typedef struct RTLOGGERRC RTLOGGERRC; 163 163 /** Pointer to guest context logger structure. */ 164 typedef RTLOGGER GC *PRTLOGGERGC;164 typedef RTLOGGERRC *PRTLOGGERRC; 165 165 /** Pointer to const guest context logger structure. */ 166 typedef const RTLOGGER GC *PCRTLOGGERGC;166 typedef const RTLOGGERRC *PCRTLOGGERRC; 167 167 168 168 … … 191 191 * @param pLogger Pointer to the logger instance which is to be flushed. 192 192 */ 193 typedef DECLCALLBACK(void) FNRTLOGFLUSHGC(PRTLOGGER GC pLogger);193 typedef DECLCALLBACK(void) FNRTLOGFLUSHGC(PRTLOGGERRC pLogger); 194 194 /** Pointer to logger function. */ 195 195 typedef RCPTRTYPE(FNRTLOGFLUSHGC *) PFNRTLOGFLUSHGC; … … 199 199 * Logger instance structure for GC. 200 200 */ 201 struct RTLOGGER GC201 struct RTLOGGERRC 202 202 { 203 203 /** Pointer to temporary scratch buffer. … … 215 215 /** Pointer to the flush function. */ 216 216 PFNRTLOGFLUSHGC pfnFlush; 217 /** Magic number (RTLOGGER GC_MAGIC). */217 /** Magic number (RTLOGGERRC_MAGIC). */ 218 218 uint32_t u32Magic; 219 219 /** Logger instance flags - RTLOGFLAGS. */ … … 227 227 }; 228 228 229 /** RTLOGGER GC::u32Magic value. (John Rogers Searle) */230 #define RTLOGGER GC_MAGIC 0x19320731229 /** RTLOGGERRC::u32Magic value. (John Rogers Searle) */ 230 #define RTLOGGERRC_MAGIC 0x19320731 231 231 232 232 … … 1304 1304 1305 1305 /** 1306 * Create a logger instance clone for GC usage.1306 * Create a logger instance clone for RC usage. 1307 1307 * 1308 1308 * @returns iprt status code. … … 1315 1315 * @param fFlags Logger instance flags, a combination of the RTLOGFLAGS_* values. 1316 1316 */ 1317 RTDECL(int) RTLogClone GC(PRTLOGGER pLogger, PRTLOGGERGC pLoggerGC, size_t cbLoggerGC,1318 RT GCPTR pfnLoggerGCPtr, RTGCPTR pfnFlushGCPtr, RTUINT fFlags);1317 RTDECL(int) RTLogCloneRC(PRTLOGGER pLogger, PRTLOGGERRC pLoggerGC, size_t cbLoggerGC, 1318 RTRCPTR pfnLoggerGCPtr, RTRCPTR pfnFlushGCPtr, RTUINT fFlags); 1319 1319 1320 1320 /** … … 1326 1326 * @param pLoggerGC The GC logger instance to flush. 1327 1327 */ 1328 RTDECL(void) RTLogFlushGC(PRTLOGGER pLogger, PRTLOGGER GC pLoggerGC);1328 RTDECL(void) RTLogFlushGC(PRTLOGGER pLogger, PRTLOGGERRC pLoggerGC); 1329 1329 1330 1330 /**
Note:
See TracChangeset
for help on using the changeset viewer.