IBM AS/400e Computer Hardware User Manual


 
/**********************************************************************/
/* All file scoped variable declarations go here */
/**********************************************************************/
static int fRemoveEscapeMsg;
static int fException;
static int fDebug; /* True means to log records to DEBUG */
static int fLogMsg; /* True means send msg to QTCP msgq */
static int fLogFile; /* True means log msg to SRCPF or PF */
static char acMsg[256];
static char acMsgKey[4];
static char acMsgReply[20];
char *pszLog = "LOG";
char *pszDebug = "DEBUG";
char *pszDtaara = "WSGEXIT QTCP ";
char *pszDataArea = "QTCP/WSGEXIT";
Figure 302. Sample WSG Server Logon Exit Program (Part 9 of 50)
/* Function Specification *********************************************/
/* */
/* Function Name: Main */
/* */
/* Descriptive Name: Application Logon exit program sample program. */
/* */
/* This test exit program provides control over signon panels via */
/* the WSG server in the V3R2 release. */
/* */
/* Notes: For V3R2 the "argv[]" parameters are "char *" by definition.*/
/* Reference integers as "*(int(argv[1]))", for example. */
/* Consider the method for passing them back to the caller. */
/* */
/* Dependencies: */
/* WSG Applicaton Logon exit point QIBM_QTMT_WSG format QAPP0100 */
/* was registered during WSG V3R2 installation. */
/* */
Figure 302. Sample WSG Server Logon Exit Program (Part 10 of 50)
576 OS/400 TCP/IP Configuration and Reference V4R4