VirtualBox

Changeset 3223

Show
Ignore:
Timestamp:
06/21/07 22:16:09 (2 years ago)
Author:
vboxsync
Message:

Moved the backdoor logging prototypes from VBox/log.h to iprt/log.h since they are referenced there (event if they are, strictly speaking, VBox specific).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/log.h

    r3075 r3223  
    387387} 
    388388 
    389  
    390 __BEGIN_DECLS 
    391  
    392 /** 
    393  * Prints a formatted string to the backdoor port. 
    394  * 
    395  * @returns Number of bytes written. 
    396  * @param   pszFormat   Format string. 
    397  * @param   ...         Optional arguments specified in the format string. 
    398  */ 
    399 RTDECL(size_t) RTLogBackdoorPrintf(const char *pszFormat, ...); 
    400  
    401 /** 
    402  * Prints a formatted string to the backdoor port. 
    403  * 
    404  * @returns Number of bytes written. 
    405  * @param   pszFormat   Format string. 
    406  * @param   args        Optional arguments specified in the format string. 
    407  */ 
    408 RTDECL(size_t)  RTLogBackdoorPrintfV(const char *pszFormat, va_list args); 
    409  
    410 __END_DECLS 
    411  
    412389/** @} */ 
    413390#endif 
  • trunk/include/iprt/log.h

    r3086 r3223  
    14591459RTDECL(void) RTLogWriteStdErr(const char *pach, size_t cb); 
    14601460 
     1461#ifdef VBOX 
     1462 
     1463/** 
     1464 * Prints a formatted string to the backdoor port. 
     1465 * 
     1466 * @returns Number of bytes written. 
     1467 * @param   pszFormat   Format string. 
     1468 * @param   ...         Optional arguments specified in the format string. 
     1469 */ 
     1470RTDECL(size_t) RTLogBackdoorPrintf(const char *pszFormat, ...); 
     1471 
     1472/** 
     1473 * Prints a formatted string to the backdoor port. 
     1474 * 
     1475 * @returns Number of bytes written. 
     1476 * @param   pszFormat   Format string. 
     1477 * @param   args        Optional arguments specified in the format string. 
     1478 */ 
     1479RTDECL(size_t)  RTLogBackdoorPrintfV(const char *pszFormat, va_list args); 
     1480 
     1481#endif /* VBOX */ 
    14611482 
    14621483__END_DECLS 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy