From: HENRY::IN%"ACSCJLD%UBVMSB.BITNET%WISCVM.WISC.EDU%SRI-KL.ARPA%relay.cs.net@rca.com" 26-SEP-1986 15:50 To: info-vax@SRI-KL.ARPA Subj: Re: NETACP control QIO definitions >> I was reading the fiche for VMS 4.4 to find out how SHOW NET gets its >> node names, and on page 75 n11-c12 it references symbols from a library >> 'SHRLIB$:NET' to perform ACP control functions on the device NET. I >> can't find these symbols in any of the standard libraries. Are they >> defined anywhere???? The definitions NFB$... used by the NETACP and routines requesting information from NETACP are defined in SYS$LIBRARY:LIB.MLB in module $NFBDEF. If you have the VAX C compiler installed, you should find the same definitions in SYS$LIBRARY:VAXCDEF.TLB and in SYS$LIBRARY:NFBDEF.H if the H files were extracted. The following is the struct I used for nfb when I worked on a user callable subroutine a la "show network". /* * These names were obtained from microfiche under the section * of NETACP, NETUSR definitions. */ struct nfb { char b_fct; char b_flags; char b_database; char b_oper; long l_srch_key; long l_srch2_key; char b_oper2; char l_mbz1; short cell_size; /* * Note that the following l_fldid this could be array if you wish to * request additional information. The array must end with a zero, * thus x_zero is declared. I have only one request to make. */ long l_fldid; long x_zero; }; Enjoy!! - J L Delgado, ACS consultant, SUNY/Buffalo