User Guide

4-12 Preliminary Draft Ampex 1308904-X4
Model No.
Running Head
aclAuditElement ACL Application Programmer’s Guide
4.5 aclAuditElement
NAME
aclAuditElement() - retrieve the status of a single element from the ACL internal database.
SYNOPSIS
#include <acl.h>
int aclAuditElement(char *device, aclElementStatus_t elemdata[]);
DESCRIPTION
aclAuditElement() reports the current status of a single addressable element in the ACL. See
libacl_api_intro(3) for information on ACL address assignments.
aclAuditElement() is available to all users.
PARAMETERS
*device Pointer or string specifying the device special file associated with the
ACL.
elemdata[] An array containing a single
aclElementStatus_t structure.
USAGE
aclAuditElement() reports the element status in the elemdata[] structure.
Before calling aclAuditElement(), assign the address of the element for which you are
requesting status to the
sea member of the structure.
char device[] = "device_name"
aclElementStatus_t aes[1];
aclAuditLibrary(device,aes);
typedef struct
{
aclElementType_t type;
int acc;
int ex;
int full;
int size;
int pos;
int door;