typedef struct _NAME_BUFFER { /* nb */
UCHAR name[NCBNAMSZ];
UCHAR name_num;
UCHAR name_flags;
} NAME_BUFFER, *PNAME_BUFFER;
The NAME_BUFFER structure contains information about a local network name. One or more NAME_BUFFER structures follows an ADAPTER_STATUS structure when an application specifies NCBASTAT in the ncb_command member of the NCB structure.
name
Specifies the local network name. (This is the value in the ncb_name member of the NCB structure.)
name_num
Specifies the number for the local network name. (This is the value in the ncb_num member of the NCB structure.)
name_flags
Specifies the current state of the name table entry. This member can be one of the following values:
Value | Meaning |
REGISTERING | The name specified by the name member is being added to the network. |
REGISTERED | The name specified by the name member has been successfully added to the network. |
DEREGISTERED | The name specified by the name member has an active session when an NCBDELNAME command is issued. The name will be removed from the name table when the session is closed. |
DUPLICATE | A duplicate name was detected during registration. |
DUPLICATE_DEREG | A duplicate name was detected with a pending deregistration. |
GROUP_NAME | The name specified by the name member was created using the NCBADDGRNAME command. |
UNIQUE_NAME | The name specified by the name member was created with using the NCBADDNAME command. |
ADAPTER_STATUS, NCB