VirtualBox

Changeset 27128 in vbox for trunk/include/iprt/message.h


Ignore:
Timestamp:
Mar 5, 2010 11:49:44 PM (15 years ago)
Author:
vboxsync
Message:

IPRT: Added RTMsgWarning[V] and RTMsgInfo[V].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/message.h

    r26683 r27128  
    108108RTDECL(RTEXITCODE) RTMsgInitFailure(int rcRTR3Init);
    109109
     110/**
     111 * Print informational message to standard error.
     112 *
     113 * The message will be prefixed with the file name part of process image name
     114 * (i.e. no path) and "warning: ".  If the message doesn't end with a new line,
     115 * one will be added.  The caller should call this with an empty string if
     116 * unsure whether the cursor is currently position at the start of a new line.
     117 *
     118 * @returns IPRT status code.
     119 * @param   pszFormat       The message format string.
     120 * @param   ...             Format arguments.
     121 */
     122RTDECL(int)  RTMsgWarning(const char *pszFormat, ...);
     123
     124/**
     125 * Print informational message to standard error.
     126 *
     127 * The message will be prefixed with the file name part of process image name
     128 * (i.e. no path) and "warning: ".  If the message doesn't end with a new line,
     129 * one will be added.  The caller should call this with an empty string if
     130 * unsure whether the cursor is currently position at the start of a new line.
     131 *
     132 * @returns IPRT status code.
     133 * @param   pszFormat       The message format string.
     134 * @param   va              Format arguments.
     135 */
     136RTDECL(int)  RTMsgWarningV(const char *pszFormat, va_list va);
     137
     138/**
     139 * Print informational message to standard output.
     140 *
     141 * The message will be prefixed with the file name part of process image name
     142 * (i.e. no path) and "info: ".  If the message doesn't end with a new line,
     143 * one will be added.  The caller should call this with an empty string if
     144 * unsure whether the cursor is currently position at the start of a new line.
     145 *
     146 * @returns IPRT status code.
     147 * @param   pszFormat       The message format string.
     148 * @param   ...             Format arguments.
     149 */
     150RTDECL(int)  RTMsgInfo(const char *pszFormat, ...);
     151
     152/**
     153 * Print informational message to standard output.
     154 *
     155 * The message will be prefixed with the file name part of process image name
     156 * (i.e. no path) and "info: ".  If the message doesn't end with a new line,
     157 * one will be added.  The caller should call this with an empty string if
     158 * unsure whether the cursor is currently position at the start of a new line.
     159 *
     160 * @returns IPRT status code.
     161 * @param   pszFormat       The message format string.
     162 * @param   va              Format arguments.
     163 */
     164RTDECL(int)  RTMsgInfoV(const char *pszFormat, va_list va);
     165
    110166/** @} */
    111167
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette