User Guide

4-26 Ampex 1308910-01
Model No.
Running Head
aclSetParam ACL Application Programmer’s Guide
4.13 aclSetParam
NAME
aclSetParam() - change ACL configuration parameter(s).
SYNOPSIS
#include <acl.h>
int aclSetParam(char *device, aclParam_t *param, int valid);
DESCRIPTION
aclSetParam() sets the behavior of the ACL by changing one or more configuration parameter
settings. To check the current configuration parameter settings, use the aclGetParam()
function.
aclSetParam() is available to all users.
PARAMETERS
*device Pointer or string specifying the device special file associated with the
ACL.
*param Pointer to a structure of type
aclParam_t.
valid The valid parameter is a bit-mask that indicates which member(s) of the
aclParam_t structure contain new configuration parameter settings.
AutoEject_Valid 0x00000001
AutoAuditOverride_Valid 0x00000002
BarcodeReqEnable_Valid 0x00000003
AutoImport_Valid 0x00000004
If only the
AutoEject and AutoImport configuration parameters
are being changed for example, the valid mask should be set as follows:
valid = AutoEject_Valid | AutoImport_Valid;
USAGE
Before calling aclSetParam(), initialize the appropriate members of the *param structure
with new values for the configuration parameters you want to change and set the valid
bit-mask accordingly.