Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

MQe_Trace.h File Reference

C API header file for the trace functions. More...


Functions

MQERETURN mqeTrace_setHandler (MQeExceptBlock *pErrStruct, MQeStringHndl traceID)
 Set the Trace Handler.

MQERETURN mqeTrace_write (MQeExceptBlock *pExceptBlock, MQECHAR *pInfo)
 This function writes a pre-formatted user string to the trace.


Detailed Description


Function Documentation

MQERETURN mqeTrace_setHandler MQeExceptBlock   pErrStruct,
MQeStringHndl    traceID
 

Enables routing of Trace from the underlying Java code to the Bindings Trace engine. To enable trace overall, registry entries are used. Please reefer to the Programming Guide Chapter 2.

Parameters:
pErrStruct  [in/out] Pointer to a pre-allocated MQeExceptBlock structure.
traceID  [in] Not used
Precondition:
pErrStruct points to a pre-allocated MQeExceptBlock structure (no error information is returned if pErrStruct is null).
Returns :
Return values:
MQERETURN_OK  Operation successful

MQERETURN mqeTrace_write MQeExceptBlock   pExceptBlock,
MQECHAR *    pInfo
 

Parameters:
pExceptBlock  [in/out] pointer to a pre-allocated MQeExceptBlock structure.
pInfo  [in] pointer to a null-terminated string containing the text to be written to the trace. Note: Formatted string must be no greater than 4096 bytes in size.
Precondition:
pExceptBlock should point to a pre-allocated MQeExceptBlock structure (no error information will be returned if pExceptBlock is null).
Return values:
MQERETURN_OK  Operation successful


Generated Thu Aug 11 23:41:23 2005 for Websphere MQ Everyplace for Multiplatforms C Bindings Reference