#include /* standard I/O definitions */ #include /* descriptor definitions */ #include /* system service definitions */ #include /* variable arguments */ /* * Read the "CC:" field from the network link * * mai$ax_cc Returned "CC:" field from the network link. * * Return: System status code for success/failure * */ PROTO_IN_CC( long *mai$al_context, /* Context field for protocol */ long mai$l_operation, /* LNK_C_IN_CC */ va_list arglist) /* remainder of arguments */ { struct dsc$descriptor *mai$ax_cc ; /* Returned "CC:" field */ mai$ax_cc = (struct dsc$descriptor *) va_arg(arglist, struct dsc$descriptor *) ; printf( "* Operation type = %d (LNK_C_IN_CC)\n", mai$l_operation ) ; printf( " Context field = 0x%08x\n", *mai$al_context ) ; return(SS$_NORMAL) ; /* Return success to caller */ }