rwlogo

Rogue Wave DBLink API Reference Guide

Product Documentation:

Rogue Wave DBLink
Documentation Home

Functions
ildtrace.h File Reference

Functions

 IldGetTraceContext ()
 
IldTraceContextIldSetTraceContext (IlUShort lvl, void *xxx)
 Create a new context using the given arguments. More...
 
int IldSetTraceLevel (IlUShort lvl)
 Set the level of tracing in the context. More...
 
int IldSetTraceStream (IL_STDPREF ostream *ostr)
 Sets the output stream of the context. More...
 

Detailed Description

[library dbkernel ildblink/ildtrace.h] Declaration of trace mechanism structure and functions.

Function Documentation

IldGetTraceContext ( )

Return the context if it exists.

IldTraceContext* IldSetTraceContext ( IlUShort  lvl,
void *  xxx 
)

Create a new context using the given arguments.

Parameters
lvlThe trace level.
ostrThe output stream to use.

If a context exists, it is first destroyed.

int IldSetTraceLevel ( IlUShort  lvl)

Set the level of tracing in the context.

Parameters
lvlThe trace level to set.
Returns
0 if no context exists or the level is not a combination of the authorized values; 1 otherwise.

Setting the trace level to IldTraceNone destroys the context.

int IldSetTraceStream ( IL_STDPREF ostream *  ostr)

Sets the output stream of the context.

Parameters
ostrThe output stream to use.
Returns
0 if no context exists, 1 otherwise.

© Copyright 2014, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.