HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_SECURITY_ACCESS_LIST
Chapter 3376
The user name structures are included at the end of the def_data
structure; the nmber of these structures is specified by the
num_users
parameter.
typedef struct define_security_access_list
{
AP_UINT16 opcode; /* verb operation cod */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char list_name[14]; /* name of this list */
unsigned char reserv3[2]; /* reserved */
SECURITY_LIST_DEF def_data; /* security access list */
} DEFINE_SECURITY_ACCESS_LIST;
typedef struct security_list_def
{
unsigned char description[32]; /* description */
unsigned char reserv3[16]; /* reserved */
AP_UINT32 num_users; /* number of users being added */
unsigned char reserv2[16]; /* reserved */
} SECURITY_LIST_DEF;
typedef struct security_user_data
{
AP_UINT16 sub_overlay_size; /* reserved */
unsigned char user_name[10]; /* user name */
} SECURITY_USER_DATA;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEVINE_SECURITY_ACCESS_LIST
list_name
Name of the security access list. This is an ASCII
string, padded on the right with spaces.
If this name matches an existing security access list,
the users defined by this verb are added to the list;
otherwise, a new list is created.