Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking /
Chapter 3 - Name-Binding Protocol (NBP) / NBP Reference
Data Structures


Names Table Entry Record

The names table entry record is a data structure of type NamesTableEntry that is used to hold an NBP names table tuple, consisting of a name and address. Because the object, type, and zone names in a names table entry are packed data of arbitrary length, you cannot create this record in Pascal (which requires you to declare the length of character strings when you define the record). If you are using the NBP Pascal interface, you use the NPBSetNTE procedure to create a names table entry. For illustration of the names table record format, see Figure 3-4 on page 3-8.

TYPE  
   NamesTableEntry =
   RECORD
      qLink:      QElemPtr;
      nteAddress: AddrBlock;
      nteData: PACKED ARRAY[1..100] OF Char;
   END;
Field Description
qLink
A pointer to the next names table entry in the names table linked list that NBP maintains on the node. (This field is used internally
by NBP.)
nteAddress
The internet socket address.
nteData
The NBP name associated with the entity's address.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996