Platform SDK: Windows Sockets |
The dnet_getacc identifier retrieves local access control for incoming DECnet connections based on the specified user name.
#include <ws2dnet.h> struct dnet_accent FAR * WSAAPI dnet_getacc( struct dnet_accent FAR *nacc );
Parameter | Description |
---|---|
nacc | Pointer to the incoming access control record. nacc.dac_username contains the user name. This ASCIZ character string has a maximum length of DN_MAXACCL. |
If successful, it returns a pointer to a DNET_ACCENT structure. Applications should copy this data before issuing another dnet_getacc call. Otherwise, it returns a NULL pointer.