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