IBM AS/400e Computer Hardware User Manual


 
/* Restrictions: */
/* */
/* None */
/* */
/* Messages: */
/* */
/* None */
/* */
/* Side Effects: */
/* */
/* None */
/* */
/* Functions/Macros called: */
/* */
/* None */
/* */
Figure 302. Sample WSG Server Logon Exit Program (Part 11 of 50)
/* Input: */
/* char * argv[1] - Operation specific information */
/* int argv[2] - Length of operation specific information */
/* char * argv[3] - IP address of the remote host system. */
/* int argv[4] - CCSID of the operaton specific info */
/* char * argv[5] - Allow operation '0'=No, '1'=Yes(output) */
/* char * argv[6] - User profile to be used (output) */
/* char * argv[7] - Password to be used (output) */
/* char * argv[8] - Program library to be used (output) */
/* char * argv[9] - Program name to be used (output) */
/* char * argv[10] - Menu panel to be used (output) */
/* char * argv[11] - Return URL when session closed (output) */
/* */
/* Exit Normal: Return AllowOper value to server application. */
/* */
/* Exit Error: None */
/* */
/* End Function Specification *****************************************/
void main(int argc, char *argv[])
{
Figure 302. Sample WSG Server Logon Exit Program (Part 12 of 50)
Appendix E. TCP/IP Application Exit Points and Programs 577