User Guide
Ampex 1308904-X4 Preliminary Draft 4-9
ACL Application Programmer’s Guide aclAuditLibrary
4.4 aclAuditLibrary
NAME
aclAuditLibrary() - retrieve the status of all elements from the ACL internal database.
SYNOPSIS
#include <acl.h>
int aclAuditLibrary(char *device, aclElementStatus_t elemdata[]);
DESCRIPTION
aclAuditLibrary() reports current status of all addressable elements in the ACL. See
libacl_api_intro(3) for information on ACL address assignments.
aclAuditLibrary() is available to all users.
PARAMETERS
*device Pointer or string specifying the device special file associated with the
ACL.
elemdata[] Array of
aclElementStatus_t structures equal in size to the
maximum number of elements in the ACL (nine for a 2XX or 4XX
ACL; 261 for an 8XX ACL).
USAGE
aclAuditLibrary() reports the element status in the elemdata[] array of structures Each
structure provides status for a single element.
Writer_Note: Change aclElementStatus_t aes[9] to max_element syntax; get details from header file.
char device[] = "device_name"
aclElementStatus_t aes[9]; /* or aes[261] for an 8XX ACL */
aclAuditLibrary(device,aes);
typedef struct
{
aclElementType_t type;
int acc;
int ex;
int full;
int size;