IBM AS/400e Computer Hardware User Manual


 
/********************************************************************/
/* Local variables */
/********************************************************************/
int iParms; /* # required parameters */
int iMin; /* Working variable */
int i; /* Working variable */
char *Accept;
char *Reject;
char *OperSpecInfo_p;
int Lgth_OperSpecInfo;
char *ClientIPaddr;
int CCSID;
char *AllowOper;
char *UserProfile;
char *Password;
char *ProgramLib;
char *ProgramName;
Figure 302. Sample WSG Server Logon Exit Program (Part 13 of 50)
char *InitialMenu;
char *URL;
char pcOpenFile[RECORD_WIDTH]; /* _Ropen() file name */
char pcOpenParms[RECORD_WIDTH]; /* _Ropen() attributes */
FILE *pDebug; /* Debug file pointer */
FILE *pLog; /* Log file pointer */
/********************************************************************/
/* Data area layout expected: */
/* - required to have library and name of logging file */
/* - if you want a connect msg to QTCP msgq, add *MSG string */
/* - if you want debug msgs to DEBUG member, add *DEBUG string */
/* */
/* Example: */
/* 'filelib/filename msgqflag debugflag' */
/* 'QTCP/WSGEXIT *MSGQ *DEBUG' */
Figure 302. Sample WSG Server Logon Exit Program (Part 14 of 50)
578 OS/400 TCP/IP Configuration and Reference V4R4