IBM AS/400e Computer Hardware User Manual


 
/********************************************************************/
/* Make all API calls library qualified (valid only at V3R7 and up) */
/********************************************************************/
#pragma map (QDCRDEVD, "QSYS/QDCRDEVD")
#pragma map (QCAPCMD, "QSYS/QCAPCMD")
#pragma map (QMHRTVM, "QSYS/QMHRTVM")
#pragma map (QMHSNDM, "QSYS/QMHSNDM")
#pragma map (QMHCHGEM, "QSYS/QMHCHGEM")
#pragma map (QWCRDTAA, "QSYS/QWCRDTAA")
#pragma map (QMHSNDPM, "QSYS/QMHSNDPM")
#endif
/**********************************************************************/
/* All file scoped Constants go here */
/**********************************************************************/
const int fTrue = 1;
const int fFalse = 0;
Figure 302. Sample WSG Server Logon Exit Program (Part 5 of 50)
/**********************************************************************/
/* All file scoped type declarations go here */
/**********************************************************************/
typedef struct _ERRSTRUCT {
int Bytes_Provided;
int Bytes_Available;
char Exception_Id[7];
char Reserved;
char Exception_Data[256];
} ERRSTRUCT;
typedef ERRSTRUCT *PERRSTRUCT;
/**********************************************************************/
/* All file scoped Macro invocations go here */
/**********************************************************************/
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
Figure 302. Sample WSG Server Logon Exit Program (Part 6 of 50)
574 OS/400 TCP/IP Configuration and Reference V4R4