Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!mordor!sri-spam!nike!ucbcad!ucbvax!UBVMSB.BITNET!ACSCJLD From: ACSCJLD@UBVMSB.BITNET Newsgroups: mod.computers.vax Subject: Re: NETACP control QIO definitions Message-ID: <8609261217.AA15335@ucbvax.Berkeley.EDU> Date: Wed, 24-Sep-86 18:22:00 EDT Article-I.D.: ucbvax.8609261217.AA15335 Posted: Wed Sep 24 18:22:00 1986 Date-Received: Fri, 26-Sep-86 21:06:42 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 39 Approved: info-vax@sri-kl.arpa >> 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