Prev Next

NAME_BUFFER info  Overview  Group

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 the NCBASTAT command in the ncb_command member of the NCB structure.

typedef struct _NAME_BUFFER { // nb 

    UCHAR name[NCBNAMSZ]; 

    UCHAR name_num; 

    UCHAR name_flags; 

} NAME_BUFFER; 

 

Members

name
Specifies the local network name. This value is in the ncb_name member of the NCB structure.
name_num
Specifies the number for the local network name. This value is 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 by using the NCBADDGRNAME command.

UNIQUE_NAME

The name specified by the name member was created by using the NCBADDNAME command.

See Also

ADAPTER_STATUS, NCB