Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

RTDECL ( void   ) 

Strips the filename from a path. Truncates the given string in-place by overwriting the last path separator character with a null byte in a platform-neutral way.

Parameters:
pszPath Path from which filename should be extracted, will be truncated. If the string contains no path separator, it will be changed to a "." string.
Strips the extension from a path.

Parameters:
pszPath Path which extension should be stripped.
Strips the trailing slashes of a path name.

Parameters:
pszPath Path to strip.
Frees memory allocated from a simple heap.

Parameters:
Heap The heap. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapSimple
Dumps the hypervisor heap.

Parameters:
Heap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Frees memory allocated from a simple heap.

Parameters:
hHeap The heap handle. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapOffset
Dumps the hypervisor heap.

Parameters:
hHeap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Runs the termination callback queue.

Normally called by an internal IPRT termination function, but may also be called by external code immediately prior to terminating IPRT if it is in a better position to state the termination reason and/or status.

Parameters:
enmReason The reason why it's called.
iStatus The associated exit status or signal number.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write log buffer to COM port.

Parameters:
pach Pointer to the buffer to write.
cb Number of bytes to write.
Write log buffer to a debugger (RTLOGDEST_DEBUGGER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to a user defined output stream (RTLOGDEST_USER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDOUT).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDERR).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Frees memory allocated from a pool.

Parameters:
hMemPool Handle to the pool containing the memory. Passing NIL here is fine, but it may come at a slight performance cost.
pv Pointer to memory block.
Remarks:
This is the same a RTMemPoolRelease but included here as a seperate function to simplify code migration.
Fills a buffer with random bytes.

Parameters:
pv Where to store the random bytes.
cb Number of bytes to generate.
Fills a buffer with random bytes.

Parameters:
hRand Handle to the random number generator.
pv Where to store the random bytes.
cb Number of bytes to generate.
Acquires the spinlock. Interrupts are disabled upon return.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Releases the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp The state to restore. (This better be the same as for the RTSpinlockAcquire() call!)
Acquires the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Free a symbol structure previously allocated by a RTDbg method.

Parameters:
pSymInfo The symbol info to free. NULL is ignored.
Free a line number structure previously allocated by a RTDbg method.

Parameters:
pLine The line number to free. NULL is ignored.
Frees memory allocated from a simple heap.

Parameters:
Heap The heap. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapSimple
Dumps the hypervisor heap.

Parameters:
Heap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Frees memory allocated from a simple heap.

Parameters:
hHeap The heap handle. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapOffset
Dumps the hypervisor heap.

Parameters:
hHeap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Runs the termination callback queue.

Normally called by an internal IPRT termination function, but may also be called by external code immediately prior to terminating IPRT if it is in a better position to state the termination reason and/or status.

Parameters:
enmReason The reason why it's called.
iStatus The associated exit status or signal number.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write log buffer to COM port.

Parameters:
pach Pointer to the buffer to write.
cb Number of bytes to write.
Write log buffer to a debugger (RTLOGDEST_DEBUGGER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to a user defined output stream (RTLOGDEST_USER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDOUT).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDERR).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Frees memory allocated from a pool.

Parameters:
hMemPool Handle to the pool containing the memory. Passing NIL here is fine, but it may come at a slight performance cost.
pv Pointer to memory block.
Remarks:
This is the same a RTMemPoolRelease but included here as a seperate function to simplify code migration.
Fills a buffer with random bytes.

Parameters:
pv Where to store the random bytes.
cb Number of bytes to generate.
Fills a buffer with random bytes.

Parameters:
hRand Handle to the random number generator.
pv Where to store the random bytes.
cb Number of bytes to generate.
Acquires the spinlock. Interrupts are disabled upon return.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Releases the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp The state to restore. (This better be the same as for the RTSpinlockAcquire() call!)
Acquires the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Free a symbol structure previously allocated by a RTDbg method.

Parameters:
pSymInfo The symbol info to free. NULL is ignored.
Free a line number structure previously allocated by a RTDbg method.

Parameters:
pLine The line number to free. NULL is ignored.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function for LogRelIt.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Free a symbol structure previously allocated by a RTDbg method.

Parameters:
pSymInfo The symbol info to free. NULL is ignored.
Free a line number structure previously allocated by a RTDbg method.

Parameters:
pLine The line number to free. NULL is ignored.
Frees memory allocated from a simple heap.

Parameters:
Heap The heap. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapSimple
Dumps the hypervisor heap.

Parameters:
Heap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Frees memory allocated from a simple heap.

Parameters:
hHeap The heap handle. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapOffset
Dumps the hypervisor heap.

Parameters:
hHeap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Runs the termination callback queue.

Normally called by an internal IPRT termination function, but may also be called by external code immediately prior to terminating IPRT if it is in a better position to state the termination reason and/or status.

Parameters:
enmReason The reason why it's called.
iStatus The associated exit status or signal number.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write log buffer to COM port.

Parameters:
pach Pointer to the buffer to write.
cb Number of bytes to write.
Write log buffer to a debugger (RTLOGDEST_DEBUGGER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to a user defined output stream (RTLOGDEST_USER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDOUT).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDERR).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Frees memory allocated from a pool.

Parameters:
hMemPool Handle to the pool containing the memory. Passing NIL here is fine, but it may come at a slight performance cost.
pv Pointer to memory block.
Remarks:
This is the same a RTMemPoolRelease but included here as a seperate function to simplify code migration.
Fills a buffer with random bytes.

Parameters:
pv Where to store the random bytes.
cb Number of bytes to generate.
Fills a buffer with random bytes.

Parameters:
hRand Handle to the random number generator.
pv Where to store the random bytes.
cb Number of bytes to generate.
Acquires the spinlock. Interrupts are disabled upon return.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Releases the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp The state to restore. (This better be the same as for the RTSpinlockAcquire() call!)
Acquires the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Free a symbol structure previously allocated by a RTDbg method.

Parameters:
pSymInfo The symbol info to free. NULL is ignored.
Free a line number structure previously allocated by a RTDbg method.

Parameters:
pLine The line number to free. NULL is ignored.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function for LogRelIt.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Strips the trailing slashes of a path name.

Parameters:
pszPath Path to strip.
Todo:
This isn't safe for a root element! Needs fixing.
Free a symbol structure previously allocated by a RTDbg method.

Parameters:
pSymInfo The symbol info to free. NULL is ignored.
Free a line number structure previously allocated by a RTDbg method.

Parameters:
pLine The line number to free. NULL is ignored.
Frees memory allocated from a simple heap.

Parameters:
Heap The heap. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapSimple
Dumps the hypervisor heap.

Parameters:
Heap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Frees memory allocated from a simple heap.

Parameters:
hHeap The heap handle. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapOffset
Dumps the hypervisor heap.

Parameters:
hHeap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Runs the termination callback queue.

Normally called by an internal IPRT termination function, but may also be called by external code immediately prior to terminating IPRT if it is in a better position to state the termination reason and/or status.

Parameters:
enmReason The reason why it's called.
iStatus The associated exit status or signal number.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write log buffer to COM port.

Parameters:
pach Pointer to the buffer to write.
cb Number of bytes to write.
Write log buffer to a debugger (RTLOGDEST_DEBUGGER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to a user defined output stream (RTLOGDEST_USER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDOUT).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDERR).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Frees memory allocated from a pool.

Parameters:
hMemPool Handle to the pool containing the memory. Passing NIL here is fine, but it may come at a slight performance cost.
pv Pointer to memory block.
Remarks:
This is the same a RTMemPoolRelease but included here as a seperate function to simplify code migration.
Fills a buffer with random bytes.

Parameters:
pv Where to store the random bytes.
cb Number of bytes to generate.
Fills a buffer with random bytes.

Parameters:
hRand Handle to the random number generator.
pv Where to store the random bytes.
cb Number of bytes to generate.
Acquires the spinlock. Interrupts are disabled upon return.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Releases the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp The state to restore. (This better be the same as for the RTSpinlockAcquire() call!)
Acquires the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Free a symbol structure previously allocated by a RTDbg method.

Parameters:
pSymInfo The symbol info to free. NULL is ignored.
Free a line number structure previously allocated by a RTDbg method.

Parameters:
pLine The line number to free. NULL is ignored.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function for LogRelIt.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Strips the extension from a path.

Parameters:
pszPath Path which extension should be stripped.
Strips the filename from a path. Truncates the given string in-place by overwriting the last path separator character with a null byte in a platform-neutral way.

Parameters:
pszPath Path from which filename should be extracted, will be truncated. If the string contains no path separator, it will be changed to a "." string.
Strips the trailing slashes of a path name.

Parameters:
pszPath Path to strip.
Todo:
This isn't safe for a root element! Needs fixing.
Free string allocated by any of the non-UCS-2 string functions.

Returns:
iprt status code.
Parameters:
pszString Pointer to buffer with string to free. NULL is accepted.
Free a symbol structure previously allocated by a RTDbg method.

Parameters:
pSymInfo The symbol info to free. NULL is ignored.
Free a line number structure previously allocated by a RTDbg method.

Parameters:
pLine The line number to free. NULL is ignored.
Frees memory allocated from a simple heap.

Parameters:
Heap The heap. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapSimple
Dumps the hypervisor heap.

Parameters:
Heap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Frees memory allocated from a simple heap.

Parameters:
hHeap The heap handle. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapOffset
Dumps the hypervisor heap.

Parameters:
hHeap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Runs the termination callback queue.

Normally called by an internal IPRT termination function, but may also be called by external code immediately prior to terminating IPRT if it is in a better position to state the termination reason and/or status.

Parameters:
enmReason The reason why it's called.
iStatus The associated exit status or signal number.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write log buffer to COM port.

Parameters:
pach Pointer to the buffer to write.
cb Number of bytes to write.
Write log buffer to a debugger (RTLOGDEST_DEBUGGER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to a user defined output stream (RTLOGDEST_USER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDOUT).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDERR).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Frees memory allocated from a pool.

Parameters:
hMemPool Handle to the pool containing the memory. Passing NIL here is fine, but it may come at a slight performance cost.
pv Pointer to memory block.
Remarks:
This is the same a RTMemPoolRelease but included here as a seperate function to simplify code migration.
Fills a buffer with random bytes.

Parameters:
pv Where to store the random bytes.
cb Number of bytes to generate.
Fills a buffer with random bytes.

Parameters:
hRand Handle to the random number generator.
pv Where to store the random bytes.
cb Number of bytes to generate.
Acquires the spinlock. Interrupts are disabled upon return.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Releases the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp The state to restore. (This better be the same as for the RTSpinlockAcquire() call!)
Acquires the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Free a symbol structure previously allocated by a RTDbg method.

Parameters:
pSymInfo The symbol info to free. NULL is ignored.
Free a line number structure previously allocated by a RTDbg method.

Parameters:
pLine The line number to free. NULL is ignored.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function for LogRelIt.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Strips the extension from a path.

Parameters:
pszPath Path which extension should be stripped.
Strips the filename from a path. Truncates the given string in-place by overwriting the last path separator character with a null byte in a platform-neutral way.

Parameters:
pszPath Path from which filename should be extracted, will be truncated. If the string contains no path separator, it will be changed to a "." string.
Strips the trailing slashes of a path name.

Parameters:
pszPath Path to strip.
Todo:
This isn't safe for a root element! Needs fixing.
Free string allocated by any of the non-UCS-2 string functions.

Returns:
iprt status code.
Parameters:
pszString Pointer to buffer with string to free. NULL is accepted.
Free temporary memory.

Parameters:
pv Pointer to memory block.
Free memory related to an virtual machine

Parameters:
pv Pointer to memory block.
Free executable/read/write memory allocated by RTMemExecAlloc().

Parameters:
pv Pointer to memory block.
Free a symbol structure previously allocated by a RTDbg method.

Parameters:
pSymInfo The symbol info to free. NULL is ignored.
Free a line number structure previously allocated by a RTDbg method.

Parameters:
pLine The line number to free. NULL is ignored.
Frees memory allocated from a simple heap.

Parameters:
Heap The heap. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapSimple
Dumps the hypervisor heap.

Parameters:
Heap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Frees memory allocated from a simple heap.

Parameters:
hHeap The heap handle. This is optional and will only be used for strict assertions.
pv The heap block returned by RTHeapOffset
Dumps the hypervisor heap.

Parameters:
hHeap The heap handle.
pfnPrintf Printf like function that groks IPRT formatting.
Runs the termination callback queue.

Normally called by an internal IPRT termination function, but may also be called by external code immediately prior to terminating IPRT if it is in a better position to state the termination reason and/or status.

Parameters:
enmReason The reason why it's called.
iStatus The associated exit status or signal number.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write log buffer to COM port.

Parameters:
pach Pointer to the buffer to write.
cb Number of bytes to write.
Write log buffer to a debugger (RTLOGDEST_DEBUGGER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to a user defined output stream (RTLOGDEST_USER).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDOUT).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Write log buffer to stdout (RTLOGDEST_STDERR).

Parameters:
pach What to write.
cb How much to write.
Remarks:
When linking statically, this function can be replaced by defining your own.
Frees memory allocated from a pool.

Parameters:
hMemPool Handle to the pool containing the memory. Passing NIL here is fine, but it may come at a slight performance cost.
pv Pointer to memory block.
Remarks:
This is the same a RTMemPoolRelease but included here as a seperate function to simplify code migration.
Fills a buffer with random bytes.

Parameters:
pv Where to store the random bytes.
cb Number of bytes to generate.
Fills a buffer with random bytes.

Parameters:
hRand Handle to the random number generator.
pv Where to store the random bytes.
cb Number of bytes to generate.
Acquires the spinlock. Interrupts are disabled upon return.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Releases the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp The state to restore. (This better be the same as for the RTSpinlockAcquire() call!)
Acquires the spinlock.

Parameters:
Spinlock The spinlock to acquire.
pTmp Where to save the state.
Free a symbol structure previously allocated by a RTDbg method.

Parameters:
pSymInfo The symbol info to free. NULL is ignored.
Free a line number structure previously allocated by a RTDbg method.

Parameters:
pLine The line number to free. NULL is ignored.
Flushes a RC logger instance to a R3 logger.

Returns:
iprt status code.
Parameters:
pLogger The R3 logger instance to flush pLoggerRC to. If NULL the default logger is used.
pLoggerRC The RC logger instance to flush.
Flushes the buffer in one logger instance onto another logger.

Returns:
iprt status code.
Parameters:
pSrcLogger The logger instance to flush.
pDstLogger The logger instance to flush onto. If NULL the default logger will be used.
Flushes the specified logger.

Parameters:
pLogger The logger instance to flush. If NULL the default instance is used. The default instance will not be initialized by this call.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pszFormat Format string.
args Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
vprintf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance.

Parameters:
pLogger Pointer to logger instance.
pvCallerRet Ignored.
pszFormat Format string.
... Format arguments.
Write to a logger instance.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default logger instance will be attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function of LogIt.
printf like function for writing to the default log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance. If NULL the default release instance is attempted.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
args Format arguments.
vprintf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
args Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Write to a logger instance, defaulting to the release one.

This function will check whether the instance, group and flags makes up a logging kind which is currently enabled before writing anything to the log.

Parameters:
pLogger Pointer to logger instance.
fFlags The logging flags.
iGroup The group. The value ~0U is reserved for compatability with RTLogLogger[V] and is only for internal usage!
pszFormat Format string.
... Format arguments.
Remarks:
This is a worker function for LogRelIt.
printf like function for writing to the default release log.

Parameters:
pszFormat Printf like format string.
... Optional arguments as specified in pszFormat.
Remarks:
The API doesn't support formatting of floating point numbers at the moment.
Strips the extension from a path.

Parameters:
pszPath Path which extension should be stripped.
Strips the filename from a path. Truncates the given string in-place by overwriting the last path separator character with a null byte in a platform-neutral way.

Parameters:
pszPath Path from which filename should be extracted, will be truncated. If the string contains no path separator, it will be changed to a "." string.
Strips the trailing slashes of a path name.

Parameters:
pszPath Path to strip.
Todo:
This isn't safe for a root element! Needs fixing.
Free string allocated by any of the non-UCS-2 string functions.

Returns:
iprt status code.
Parameters:
pszString Pointer to buffer with string to free. NULL is accepted.
Free temporary memory.

Parameters:
pv Pointer to memory block.
Free memory related to an virtual machine

Parameters:
pv Pointer to memory block.
Free executable/read/write memory allocated by RTMemExecAlloc().

Parameters:
pv Pointer to memory block.
Same as RTMemTmpFree() except that it's for fenced memory.

Parameters:
pv Pointer to memory block.
Free temporary memory.

Parameters:
pv Pointer to memory block.
Free executable/read/write memory allocated by RTMemExecAlloc().

Parameters:
pv Pointer to memory block.
Free a memory block allocated with RTMemPageAlloc() or RTMemPageAllocZ().

Parameters:
pv Pointer to the block as it was returned by the allocation function. NULL will be ignored.

Definition at line 214 of file md5.cpp.

{
    ctx->buf[0] = 0x67452301;
    ctx->buf[1] = 0xefcdab89;
    ctx->buf[2] = 0x98badcfe;
    ctx->buf[3] = 0x10325476;

    ctx->bits[0] = 0;
    ctx->bits[1] = 0;
}


Generated by  Doxygen 1.6.0   Back to index