User Guide

4-4 Ampex 1308910-01
Model No.
Running Head
aclAuditElement ACL Application Programmer’s Guide
4.3 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 *elemstatus);
DESCRIPTION
aclAuditElement() reports the current status of a single addressable element in the ACL. See
libacl Overview 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.
*elemstatus Pointer to a structure of type
aclElementStatus_t.
USAGE
aclAuditElement() reports the element status in the *elemstatus 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];
aclAuditElement(device,aes);
typedef struct
{
elem_type_enum type;
access_enum acc;
except_enum ex;
full_enum full;
cart_sz_enum size;
int pos;
door_enum door;