z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


papi_debug parameters

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

*debugValue
This is a pointer to an input parameter that is used to turn debug on or off.

If papi_debug() is not issued, then no debug information is displayed.

If debug is being used, then the application can pass in a user exit in the papiDebug_t papiLogFunc field.

If papiLogFunc is NULL, then all messages are logged using printf().

The following defines are located in papiuser.h.
       typedef struct {
           unsigned int       papiDebugOpt;  /* Debug On/Off      */
           void              *papiUserValue; /* User Define value */
           papiLogUserExit_t  papiLogFunc;   /* Logging  Function */
       } papiDebug_t;                        /* Input papi_debug()*/

       Set papiDebugOpt:
       #define PAPI_DEBUG_OFF            0  /* Debug Off */
       #define PAPI_DEBUG_ON             1  /* Debug On  */

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014